Glassfish logging to multiple .log files -
We have a glassfish v2 server and there are some modules: ebb, web-application, etc ... from different modules Logging is required in various log files, such as Tomcat or other app servers have been allowed to do this.
Glassfish forced us to use our logging system with all logs in the same server.log and looked with the admin console.
This can be a good practice for a single application but not for 10 different apps deployed with glassfish for all logs in a file same
I tried, it helped and I am able to write many files, but is a disadvantage - if log4j has been installed like this So it can allow you to write on many log files, but to modify the log level It is necessary server / domain restart , log file (a log related configuration in log4 conf)
It is possible to use anything in Glassfish Which allows me to:
- Write log log files different from different loggers? and
- Modify log levels without logging server, log appenders etc. (Like I can redeploy in Tomcat now.) ??
It seems that the default Glassfish logging utility does not allow for this.
Comments
Post a Comment