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
Change date format into logs files
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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?
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?