1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

51 Commits

Author SHA1 Message Date
James Booth
e53e94f1e2 Updated copyright 2016-02-14 22:54:46 +00:00
James Booth
dd11334b06 Applied coding style to src/ 2015-10-26 00:52:33 +00:00
James Booth
b266e4d035 Pass delay timestamp to all incoming chat events 2015-09-08 20:18:31 +01:00
James Booth
dea10ecfdc Dereference timestamp on chat logging 2015-08-09 01:24:15 +01:00
James Booth
dd206ef637 WIP fix for #516, needs memory cleanup 2015-06-29 23:48:41 +01:00
Dmitry Podgorny
e831410669 log: Introduced stderr log handler
This handler redirects stderr output to a pipe and gathers logs from the
read end.

The handler is called from main loop, therefore, if a function prints logs
to stderr they will be put to log file only after function returns.
2015-06-23 20:52:04 +00:00
James Booth
3d2f999efb Added PGP logging preferences 2015-06-21 21:42:58 +01:00
James Booth
41724218c0 Use null check convention in log.c 2015-05-04 23:28:34 +01:00
James Booth
8944a3b5bb Move common chat logging code to log.c 2015-03-15 23:19:00 +00:00
James Booth
b3be26a214 Updated copyright 2015-02-10 23:16:09 +00:00
James Booth
22b92c7514 Used g_hash_table_destroy to free logs 2015-02-10 19:53:34 +00:00
James Booth
bb3f1b0909 Set file permissions for logs 2014-10-18 21:41:39 +01:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
James Booth
186cac34de Fixed memleak in chat log history 2014-06-27 00:38:53 +01:00
James Booth
d6e92f62dc Fixed cppcheck warnings 2014-04-26 00:36:36 +01:00
James Booth
67a109927c Added /log where command 2014-04-13 22:20:15 +01:00
James Booth
c3418a2909 Added /log shared setting
Issue #170
2014-04-13 21:56:51 +01:00
James Booth
a4a23fdf68 Added /log rotate option 2014-04-13 20:41:11 +01:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
6dbea7e16f Add level to log output 2014-01-27 22:48:52 +00:00
Dmitry Podgorny
2fc588be17 fixed segfault when home directory doesn't exist 2014-01-03 20:43:07 +02:00
James Booth
ce3b99f577 Fixed memory leak in groupchat logging
issue #226
2013-09-23 01:37:57 +01:00
James Booth
25b274b8d1 Fixed memory leaks in chat logs
issue #226
2013-09-23 01:05:07 +01:00
Dmitry Podgorny
1ef361684f tz should be cached in static variable 2013-08-24 00:37:00 +03:00
Dmitry Podgorny
c94495bc31 avoid double allocaion of session_started 2013-08-24 00:34:47 +03:00
Dmitry Podgorny
28ec3334cf refactored logging
Use ftell instead of stat syscall to increase portability.
2013-08-03 14:31:36 +03:00
James Booth
8c5866ff52 Added groupchat logs
closes #168
2013-05-05 00:16:10 +01:00
James Booth
0030ae5890 Default to INFO when creating log 2013-02-03 00:30:24 +00:00
James Booth
c90c83f7e1 Removed log function to log.c 2013-02-03 00:27:43 +00:00
James Booth
3d0e0d7ea4 Removed files.c 2013-02-02 22:33:05 +00:00
James Booth
c58aca5640 Moved function to get log dir to log.c 2013-02-02 22:18:08 +00:00
James Booth
0b4c464919 Moved function to get chat log dir to log.c 2013-02-02 22:12:35 +00:00
James Booth
9d34c41227 Added config dir to source 2013-02-02 21:59:29 +00:00
James Booth
fc5bfb7d33 Tidied #include's 2013-02-02 20:55:58 +00:00
James Booth
bf1cf04447 Joined log and chat_log modules 2013-01-28 20:16:18 +00:00
James Booth
d29c7fd878 Updated copyright 2013-01-11 02:05:29 +00:00
James Booth
4b73f3d7f9 Profanity files now use %XDG_CONFIG_HOME and %XDG_DATA_HOME 2012-11-25 21:40:49 +00:00
Dmitry Podgorny
291c6bc3d9 introduce initial log rotate support 2012-11-11 23:44:55 +02:00
James Booth
6bad38c2d5 Removed trailing whitespace from src and tests 2012-10-21 20:02:20 +01:00
James Booth
6d329343dc Shutdown now correctly handles connection 2012-09-23 19:26:07 +01:00
James Booth
0f3c1e56d2 Fixed vargs strings in log 2012-09-09 16:23:33 +01:00
James Booth
fe519410b1 Tidied all includes 2012-08-26 01:50:50 +01:00
James Booth
2bbac1c811 Refactored log
Added shortcut functions for prof logging levels
2012-08-26 00:54:18 +01:00
James Booth
4dbd8bbefa Added some logging and updated man page 2012-08-22 00:30:24 +01:00
James Booth
e698738745 Customisable logging levels 2012-08-19 03:43:18 +01:00
James Booth
74a88ad566 Basic log levels settings 2012-08-19 02:44:46 +01:00
James Booth
52bcdc1cee Removed extern for log 2012-08-19 01:56:39 +01:00
James Booth
e4ac23e9a6 Added timestamp to log 2012-08-19 01:51:06 +01:00
James Booth
279737bada Function signatures across lines 2012-07-24 23:19:48 +01:00
James Booth
929be7f1ac Log location ~/.profanity/log/profanity.log 2012-07-19 22:38:46 +01:00