Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-07 Thread Ian Harding

Thanks for the tip, I will try it on my NetBSD installation.  The one I have the big 
log on is Win32 thought.  However, that problem is scheduled to be overcome by other 
events.

Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: [EMAIL PROTECTED]

>>> [EMAIL PROTECTED] 05/05/01 10:38AM >>>
> Yikes!  My server.log is 250 MB!  However, access.log is rolling nicely.

I recommend running aolserver under daemontools (instead of inittab),
using the -f flag (foreground mode, with the server log going to
stderr), and using multilog (from the daemontools package) to write the
server log to disk.  With multilog, you say how many files of server log
to keep, and how to big let each file get.  It rolls the logs based on
size instead of time.  Thus you never have to worry about your server
log growing to 250 MB unless you meant to let it get that big.

http://cr.yp.to/daemontools.html



Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-05 Thread Rob Mayoff

> Yikes!  My server.log is 250 MB!  However, access.log is rolling nicely.

I recommend running aolserver under daemontools (instead of inittab),
using the -f flag (foreground mode, with the server log going to
stderr), and using multilog (from the daemontools package) to write the
server log to disk.  With multilog, you say how many files of server log
to keep, and how to big let each file get.  It rolls the logs based on
size instead of time.  Thus you never have to worry about your server
log growing to 250 MB unless you meant to let it get that big.

http://cr.yp.to/daemontools.html



Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-04 Thread Ian Harding

Yikes!  My server.log is 250 MB!  However, access.log is rolling nicely.

Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: [EMAIL PROTECTED]

>>> [EMAIL PROTECTED] 05/04/01 11:27AM >>>
Umm, I guess I should know the answer to this, but I don't:

Has anyone gotten their server.log to roll automatically?

Kris



Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-04 Thread Dave Hwang

> Tom Ivar Helbekkmo <[EMAIL PROTECTED]> writes:

 > "Kris Rehberg" <[EMAIL PROTECTED]> writes:
 >> Has anyone gotten their server.log to roll automatically?

 > I use the following:

 > ns_section "ns/parameters"
 > ns_param serverlog "smc.log"
 > ns_param logroll true
 > ns_param maxbackup 14

 > ...but it doesn't work.  :-( The name is used, but there's no
 > rolling.

nslog is working for me with the following config:

ns_section ns/server/${service_short_name}/module/nslog
ns_param EnableHostnameLookup Off
ns_param File ${AOL_HOME}/log/${service_short_name}.log
ns_param LogCombined On
ns_param LogRefer Off
ns_param LogUserAgent Off
ns_param MaxBackup 5
ns_param RollDay *
ns_param RollFmt %Y-%m-%d-%H:%M
ns_param RollHour 0
ns_param RollOnSignal On
ns_param RollLog On

Dave



Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-04 Thread Tom Ivar Helbekkmo

"Kris Rehberg" <[EMAIL PROTECTED]> writes:

> Has anyone gotten their server.log to roll automatically?

I use the following:

ns_section "ns/parameters"
ns_param serverlog "smc.log"
ns_param logroll   true
ns_param maxbackup 14

...but it doesn't work.  :-(  The name is used, but there's no rolling.

-tih
--
The basic difference is this: hackers build things, crackers break them.



Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-04 Thread David Weis

As far as I know, it does, unless someone else is doing it for me.

dave

On Fri, 4 May 2001, Kris Rehberg wrote:

> Umm, I guess I should know the answer to this, but I don't:
>
> Has anyone gotten their server.log to roll automatically?
>
> Kris
>

--
Dave Weis "I believe there are more instances of the abridgement
[EMAIL PROTECTED]   of the freedom of the people by gradual and silent
  encroachments of those in power than by violent
  and sudden usurpations."- James Madison



Re: [AOLSERVER] Has server.log rolling ever worked?

2001-05-04 Thread Michael Matthews

On Fri, 4 May 2001, Kris Rehberg wrote:

> Umm, I guess I should know the answer to this, but I don't:

> Has anyone gotten their server.log to roll automatically?

You mean aside from kill -HUP `cat ns.pid`?

That's what we do.

Note that you have to turn off the HUP log rolling of the access log, else
you may delete your access logs if you time it right.

(the RollOnsignal variable)

> Kris
>

--
Michael Matthews, CCB, [EMAIL PROTECTED] | [EMAIL PROTECTED] | x50984



[AOLSERVER] Has server.log rolling ever worked?

2001-05-04 Thread Kris Rehberg

Umm, I guess I should know the answer to this, but I don't:

Has anyone gotten their server.log to roll automatically?

Kris