Page 1 of 1
Change date format into logs files
Posted: Thu Jan 04, 2007 11:19 am
by jlnavio
Hello everybody and happy new year!!
I am spanish and I wish put dates into this format for logs files:
DAY / MONTH / YEAR
Actually it format is: month/day/year
Can anybody help me?? What file have I to change??
Thanks
Posted: Sun Jan 14, 2007 8:05 pm
by zoneminder
Can you give me an example? I am in the UK and my logs are just like 'Jan 14'. Unless I am misunderstanding what you are asking.
Posted: Mon Apr 09, 2007 2:30 pm
by jlnavio
Today it's --> 09/April/2007 (this is format I want)
If I do restart from ZM console, my "zmpkg.log" shows:
04/09/07 16:14:31.853089 zmpkg[10436].INF [Command: restart]
However, if I do restart from debian console: "/usr/local/bin/zmpkg.pl restart" my zmpkg.log shows:
09/04/07 16:16:19.837427 zmpkg[10871].INF [Command: restart]
My problem isn't "restart <-->stop, start". It's date format.
Why are they different if they use the same script: "/usr/local/bin/zmpkg.pl"?
Can anybody help me?