| View previous topic :: View next topic |
| Author |
Message |
psychic Voice
Joined: 02 Sep 2008 Posts: 5
|
Posted: Tue Sep 09, 2008 6:42 am Post subject: default logging timestamp |
|
|
Hi, when I enable channel logging for the eggdrop, when I enable timing the logs, it shows [hh:mm] format timestamp, how do I customize the timestamp to be something like this: [2008-09-09 14:42:00] ?
Thanks in advance! |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Wed Oct 08, 2008 12:32 pm Post subject: |
|
|
../src/eggdrop.h: | Code: | /*
* Set the following to the timestamp for the logfile entries.
* Popular times might be "[%H:%M]" (hour, min), or "[%H:%M:%S]" (hour, min, sec)
* Read `man strftime' for more formatting options. Keep it below 32 chars.
*/
#define LOG_TS "[%H:%M]"
| This will also display the same format in DCC ...etc and modifying the eggdrop source code not recommended. _________________ TCL the misunderstood |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|