[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-users
Subject:    Re: [Proftpd-user] Force SystemLog to include year in the date
From:       "TJ Saunders" <tj () castaglia ! org>
Date:       2011-03-23 17:47:04
Message-ID: alpine.DEB.2.00.1103231046180.9201 () familiar ! castaglia ! org
[Download RAW message or body]


> > I'm using SystemLog to redirect the log in a file, but I have lines like:
> > 
> > Mar 23 15:55:34 <machine> <the rest of the log>
> > 
> > How can I force the year in the date printed in SystemLog?
> 
> It is currently not possible.  However, you can configure a custom 
> timestamp (including year) using LogFormat and Extendedlog.  For long-term 
> storage of log file data, using an ExtendedLog might be a better option.

I should also mention that it's possible to configure an ExtendedLog to 
write to syslog, rather than to a file:

  ExtendedLog syslog:info ALL default

will use the "info" syslog level and the default LogFormat, for all 
commands.

Hope this helps,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   The true science and study of man is man.

   	-Pierre Charron

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
ProFTPD Users List   <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic