On 07/20/2012 08:56 AM, jpoisson wrote:
>
> Hello all, currently our User App log is only logging time to each entry
> and i wanted to know if it was possible to preface it with a date as
> well? Maybe there is a defining config file to enable it? any info would
> be great. thank you.
>
>

Greetings,
By default you will have date and time in the log file. This is
normally controlled by the log4j configuration (for example:
jboss-log4j.xml) in the <param name="ConversionPattern" value= /> entry

By Default it will be:

<param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>


It would appear from:
http://logging.apache.org/log4j/1.2/...ernLayout.html

that your %d has been modified to only include time. For example:
%d{HH:mm:ss,SSS}





--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ