Xymon Mailing List Archive search

simple log question

2 messages in this thread

list Robert P. McGraw · Thu, 6 Apr 2006 11:53:54 -0400 ·
I changed 

BBSERVERLOGS="/var/log/hobbit 

to

BBSERVERLOGS="/local/hobbit/server/logs"

and most of the logs are now being written to the new directory except for
hobbitlaunch.log and hobbitlaunch.pid. They are still being written in
/var/log/hobbit. 

Is there another variable that I need to change or is this compiled into the

code?

Thanks

Robert


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street                   FAX: (XXX) XXX-XXXX
West Lafayette, IN XXXXX-XXXX
list Henrik Størner · Thu, 6 Apr 2006 22:25:33 +0200 ·
quoted from Robert P. McGraw
On Thu, Apr 06, 2006 at 11:53:54AM -0400, McGraw, Robert P. wrote:
I changed 
BBSERVERLOGS="/var/log/hobbit 
to

BBSERVERLOGS="/local/hobbit/server/logs"

and most of the logs are now being written to the new directory except for
hobbitlaunch.log and hobbitlaunch.pid. They are still being written in
/var/log/hobbit. 
Is there another variable that I need to change or is this compiled into the
code?
It's a chicken-and-egg thing. But hobbitlaunch has --log=FILENAME and
--pidfile=FILENAME that you can use to control where these files go.
The built-in location - /var/log/hobbit - is merely the default.


Henrik