Youtube Channel

Add current date and time to log4j log file name

How to add current date and time to log file name

Example: 27-MAR-2015 09-25-58.log

Requirements:
  1. log4j.xml
  2. log4j jar file
  3. Java class 
Download project codes  from here

create log4.xml



Create a main class





Next PostNewer Post Previous PostOlder Post Home

0 comments: