RE: [hlds] Log File Formats & Archiving Process

2006-02-23 Thread Adam Sando
Well, I can do that fine. Because I can't get the year from the log
name, I am just working from the Date Created field instead (im doing
this on a Windows box). This means that I have to assume the date the
file was created, was when srcds created it ;)

If valve would simply make the log naming convention something simple
like:
srcds
Or:
Srcds

Either one would be good, and would allow so much more control over the
archiving process. I'm sure other larger game server providers are
having the same gripe? If I had to manage hundreds of servers with the
current log format on each, I would be pretty pissed.

Regards,
Adam

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham M.
Sent: Friday, 24 February 2006 11:14 AM
To: hlds@list.valvesoftware.com
Subject: Re: [hlds] Log File Formats & Archiving Process

Adam Sando wrote:

>This is a multi-part message in MIME format.
>--
>[ Picked text/plain from multipart/alternative ] Hi guys,
>
>I'm in the process of writing some scripts to manage my log file
>archive process, and have a couple of questions some of you may know
>the answers
>to:
>1. Why has Valve decided it is a great idea to have the log naming
>convention of "L.log" ??
>2. Is there an automated tool already available that can archive logs
>to directories based on either day or month?
>
>If the answer to #2 is no, then that's cool as I've already written the
>bzip2 and move process, however have not had it move based on date yet.
>If the answer is yes, this just makes my life easier ;)
>
>Any help would be appreciated.
>
>Regards,
>Adam.
>
>--
>
>___
>To unsubscribe, edit your list preferences, or view the list archives,
please visit:
>http://list.valvesoftware.com/mailman/listinfo/hlds
>
>
>
Its quite easy to trim the filename so you can find out the date and
month, ill have a look back at something ive done before when im more
awake if you like.


___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

This e-mail has been scanned for viruses by Hostworks Message Scanning
Services - powered by MessageLabs. For further information contact
Hostworks on 1300 30 4848.

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds


Re: [hlds] Log File Formats & Archiving Process

2006-02-23 Thread m0gely

Adam Sando wrote:


2. Is there an automated tool already available that can archive logs to
directories based on either day or month?


Yes, if you have cygwin installed.  Otherwise I don't know.  Not
familiar with scripting in Windows.  I'm sure it could be done with some
creative vb scripting.

--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds


Re: [hlds] Log File Formats & Archiving Process

2006-02-23 Thread Graham M.

Adam Sando wrote:


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi guys,

I'm in the process of writing some scripts to manage my log file archive
process, and have a couple of questions some of you may know the answers
to:
1. Why has Valve decided it is a great idea to have the log naming
convention of "L.log" ??
2. Is there an automated tool already available that can archive logs to
directories based on either day or month?

If the answer to #2 is no, then that's cool as I've already written the
bzip2 and move process, however have not had it move based on date yet.
If the answer is yes, this just makes my life easier ;)

Any help would be appreciated.

Regards,
Adam.

--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds




Its quite easy to trim the filename so you can find out the date and
month, ill have a look back at something ive done before when im more
awake if you like.


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds