C
crash.test.dummy
hi,
i have an application that listens on a specific port to do its task.
This application can run on multiple instances by specifying different
ports in the argument.
MyApp-1211.bat contains
java MyApp 1211
MyApp-1311.bat contains
java MyApp 1311
MyApp-1411.bat contains
java MyApp 1411
this application logs to a file. the problem is all 3 instances log
into a single file, myApp.log. is there a way to tell log4j to use
different log files, like:
myApp-port1211.log
myApp-port1311.log
myApp-port1411.log
thanks.
i have an application that listens on a specific port to do its task.
This application can run on multiple instances by specifying different
ports in the argument.
MyApp-1211.bat contains
java MyApp 1211
MyApp-1311.bat contains
java MyApp 1311
MyApp-1411.bat contains
java MyApp 1411
this application logs to a file. the problem is all 3 instances log
into a single file, myApp.log. is there a way to tell log4j to use
different log files, like:
myApp-port1211.log
myApp-port1311.log
myApp-port1411.log
thanks.