Change date format into logs files

Support and queries relating to all previous versions of ZoneMinder
Locked
jlnavio
Posts: 27
Joined: Fri Oct 27, 2006 10:50 am
Location: Spain

Change date format into logs files

Post by jlnavio »

Hello everybody and happy new year!! :D

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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
jlnavio
Posts: 27
Joined: Fri Oct 27, 2006 10:50 am
Location: Spain

Post 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?
Locked