On Thu, Jul 8, 2010 at 4:34 PM, Hakan Koseoglu <[email protected]> wrote: > Kaushal, > On 08/07/10 11:26, Kaushal Shriyan wrote: >> Is there a way to run log4j appender at a specified time? > I am not sure what you mean. > Do you want to specify when the file rolls over? > The data pattern can take 'yyyy-MM-dd-HH' or 'yyyy-MM-dd-HH-mm' format > to roll over hourly or minutely. > See the log4j's apidoc for more details.
Hakan, Basically if i set log4j.appender.R.DatePattern='.'yyyy-MM-dd in log4j.properties It rolls over at midnight. is there a way to roll over at say 12:00 Noon Please suggest/guide Thanks, Kaushal -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
