about summary refs log tree commit diff stats
path: root/src/log.c
Commit message (Collapse)AuthorAgeFilesLines
* Log and print outgoing encrypted messagePaul Fariello2019-04-101-1/+63
|
* Add OMEMO message encryption and decryptionPaul Fariello2019-04-101-0/+34
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Fix gcc8 error about strncpyMichael Vetter2018-07-061-1/+1
| | | | | | | | | | | | | | | | | | With gcc8 we get the following error when stringop-truncation is on: ``` In function ‘_rotate_log_file’, inlined from ‘log_msg.part.2’ at src/log.c:201:17: src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(log_file_new, log_file, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/log.c: In function ‘log_msg.part.2’: src/log.c:228:18: note: length computed here size_t len = strlen(log_file); ^~~~~~~~~~~~~~~~ ``` Using memcpy instead of strncpy.
* Update copyrightJames Booth2018-01-211-1/+1
|
* Recreate chat log when removedJames Booth2017-06-131-1/+6
| | | | fixes #210
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Remove copied char* in groupchat_log_chatJames Booth2016-07-261-9/+7
|
* Fix memory leaksJames Booth2016-07-251-1/+2
|
* Move all filepath handling to files.cJames Booth2016-07-241-37/+5
|
* Move xgd functionsJames Booth2016-07-241-2/+2
|
* Move resource conversionsJames Booth2016-07-241-1/+1
|
* Add config/files.cJames Booth2016-07-241-0/+1
|
* Tidy headersJames Booth2016-07-241-1/+0
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Move connection fulljid functionJames Booth2016-05-061-6/+6
|
* Rename jabber_ functionsJames Booth2016-05-061-6/+6
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Applied coding style to src/James Booth2015-10-261-40/+36
|
* Pass delay timestamp to all incoming chat eventsJames Booth2015-09-081-18/+7
|
* Dereference timestamp on chat loggingJames Booth2015-08-091-1/+6
|
* WIP fix for #516, needs memory cleanupJames Booth2015-06-291-14/+6
|
* log: Introduced stderr log handlerDmitry Podgorny2015-06-231-0/+103
| | | | | | | | 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.
* Added PGP logging preferencesJames Booth2015-06-211-0/+34
|
* Use null check convention in log.cJames Booth2015-05-041-8/+8
|
* Move common chat logging code to log.cJames Booth2015-03-151-4/+74
|
* Updated copyrightJames Booth2015-02-101-1/+1
|
* Used g_hash_table_destroy to free logsJames Booth2015-02-101-4/+4
|
* Set file permissions for logsJames Booth2014-10-181-0/+4
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* Fixed memleak in chat log historyJames Booth2014-06-271-8/+11
|
* Fixed cppcheck warningsJames Booth2014-04-261-3/+2
|
* Added /log where commandJames Booth2014-04-131-0/+9
|
* Added /log shared settingJames Booth2014-04-131-5/+17
| | | | Issue #170
* Added /log rotate optionJames Booth2014-04-131-3/+5
|
* Updated copyrightJames Booth2014-03-091-1/+1
|
* Add level to log outputJames Booth2014-01-271-1/+23
|
* fixed segfault when home directory doesn't existDmitry Podgorny2014-01-031-27/+31
|
* Fixed memory leak in groupchat loggingJames Booth2013-09-231-0/+1
| | | | issue #226
* Fixed memory leaks in chat logsJames Booth2013-09-231-9/+9
| | | | issue #226
* tz should be cached in static variableDmitry Podgorny2013-08-241-4/+0
|
* avoid double allocaion of session_startedDmitry Podgorny2013-08-241-1/+0
|
* refactored loggingDmitry Podgorny2013-08-031-19/+8
| | | | Use ftell instead of stat syscall to increase portability.
* Added groupchat logsJames Booth2013-05-051-1/+107
| | | | closes #168
* Default to INFO when creating logJames Booth2013-02-031-1/+3
|
* Removed log function to log.cJames Booth2013-02-031-0/+16
|
* Removed files.cJames Booth2013-02-021-1/+0
|
* Moved function to get log dir to log.cJames Booth2013-02-021-4/+16
|
* Moved function to get chat log dir to log.cJames Booth2013-02-021-1/+16
|
* Added config dir to sourceJames Booth2013-02-021-1/+1
|