File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Make log output more precise (log4j) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Make log output more precise (log4j)" Watch "Make log output more precise (log4j)" New topic
Author

Make log output more precise (log4j)

Andrei Mezin
Greenhorn

Joined: Sep 27, 2011
Posts: 8
Hi,

I have a log output with equal time stamps:

22-11 12:23:23,023 INFO [org...] TS YYY
22-11 12:23:23,023 INFO [com...] TS 2
22-11 12:23:23,023 INFO [com...] TS 3
22-11 12:23:23,023 INFO [com...] TS 1
22-11 12:23:23,023 INFO [org...] TS XXX
22-11 12:23:23,023 INFO [org...] TS YYY
22-11 12:23:23,023 INFO [com...] TS 2
22-11 12:23:23,023 INFO [com...] TS 3
22-11 12:23:23,023 INFO [com...] TS 1
22-11 12:23:23,023 INFO [org...] TS XXX
22-11 12:23:23,023 INFO [org...] TS YYY
22-11 12:23:23,023 INFO [com...] TS 2
22-11 12:23:23,023 INFO [com...] TS 3
22-11 12:23:23,023 INFO [com...] TS 1
22-11 12:23:23,023 INFO [org...] TS XXX


How can I configure log4j to show more precise time stamps?
Andrei Mezin
Greenhorn

Joined: Sep 27, 2011
Posts: 8
The precision was fine since my app was running quite fast ;-)
 
jQuery in Action, 2nd edition
 
subject: Make log output more precise (log4j)
 
Threads others viewed
JSF Example Error
JBoss 5.1.0GA to Weblogic 8.1 Bridge - Getting CNFE for weblogic.jndi.WLInitialContextFactory
Frontman 2 FileNotFoundException ?
Error listenerStart : Using spring with tomcat
org.jboss.resource.JBossResourceException: Error while starting JBOSS server
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture