This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Timestamp format in console and logs ?

Old posts that have not been replied to for several years.
Locked
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

Timestamp format in console and logs ?

Post by Adrenalin »

Now my eggdrop use hour:minutes timestamp.. ex. [17:30], is it possible to add seconds too ?
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

src/eggdrop.h:
/* 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 characters.
*/
#define LOG_TS "[%H:%M]"
Que?
User avatar
Adrenalin
Voice
Posts: 21
Joined: Sat Jan 29, 2005 10:32 am
Location: Moldova
Contact:

Post by Adrenalin »

Hmm.. I need to recompile my drop ? Oh.. Okey, thanks.
Locked