I need to move my log files to a different drive in glassfish. Under server-config/logger settings/log file so far I have tried:
D:/glassfish_logs/${com.sun.aas.domain}/logs/server.log
D:/glassfish_logs/${com.sun.aas.domainName}/logs/server.log
D:/glassfish_logs/${domainName}/logs/server.log
The logs are relocated but the name of the domain is not substituted. What is the system property that grabs the name of domain and sticks it in there?
Also,
How do you tell glassfish to only keep the last x number of log files. I see no setting for this anywhere.
Thanks.