supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* log/config ignored
@ 2009-12-02 20:57 Joe Williams
  2009-12-02 22:00 ` Rafal Bisingier
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Williams @ 2009-12-02 20:57 UTC (permalink / raw)
  To: supervision

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]


I seem to be having an issue where I cannot increase beyond the default 
log size and my log/config file seems to be ignored.

root@HOST:~# ls -al /etc/service/stuff/log/
total 24
drwxr-xr-x 4 root root 4096 2009-12-02 17:52 .
drwxr-xr-x 4 root root 4096 2009-12-01 03:19 ..
-rw-r--r-- 1 root root   10 2009-12-02 17:31 config
drwxr-xr-x 2 root root 4096 2009-12-02 17:43 main
-rwxr-xr-x 1 root root   33 2009-12-02 17:52 run
drwx------ 2 root root 4096 2009-12-02 17:52 supervise

root@HOST:~# cat /etc/service/stuff/log/run
#!/bin/sh
exec svlogd -tt ./main

root@HOST:~# cat /etc/service/stuff/log/config
s10000000

I think everything is right but if anyone has a suggestion I would 
appreciate it.

-Joe

-- 
Name: Joseph A. Williams
Email: joe@joetify.com
Blog: http://www.joeandmotorboat.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: log/config ignored
  2009-12-02 20:57 log/config ignored Joe Williams
@ 2009-12-02 22:00 ` Rafal Bisingier
  2009-12-02 22:36   ` Joe Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Rafal Bisingier @ 2009-12-02 22:00 UTC (permalink / raw)
  To: supervision

Serwus,

Dnia Wed, 02 Dec 2009 12:57:12 -0800
Joe Williams <joe@joetify.com> napisał(a):

> 
> I seem to be having an issue where I cannot increase beyond the default 
> log size and my log/config file seems to be ignored.
> 
> root@HOST:~# ls -al /etc/service/stuff/log/
> total 24
> drwxr-xr-x 4 root root 4096 2009-12-02 17:52 .
> drwxr-xr-x 4 root root 4096 2009-12-01 03:19 ..
> -rw-r--r-- 1 root root   10 2009-12-02 17:31 config
> drwxr-xr-x 2 root root 4096 2009-12-02 17:43 main
> -rwxr-xr-x 1 root root   33 2009-12-02 17:52 run
> drwx------ 2 root root 4096 2009-12-02 17:52 supervise
> 
> root@HOST:~# cat /etc/service/stuff/log/run
> #!/bin/sh
> exec svlogd -tt ./main
> 
> root@HOST:~# cat /etc/service/stuff/log/config
> s10000000
> 
> I think everything is right but if anyone has a suggestion I would 
> appreciate it.

The config file should be in the log files directory (so in your case
in ./main)

-- 
Greetings
Rafal Bisingier


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: log/config ignored
  2009-12-02 22:00 ` Rafal Bisingier
@ 2009-12-02 22:36   ` Joe Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Williams @ 2009-12-02 22:36 UTC (permalink / raw)
  To: supervision

Knew it had to be something simple I was missing, thanks!


On 12/2/09 2:00 PM, Rafal Bisingier wrote:
> Serwus,
>
> Dnia Wed, 02 Dec 2009 12:57:12 -0800
> Joe Williams<joe@joetify.com>  napisał(a):
>
>    
>> I seem to be having an issue where I cannot increase beyond the default
>> log size and my log/config file seems to be ignored.
>>
>> root@HOST:~# ls -al /etc/service/stuff/log/
>> total 24
>> drwxr-xr-x 4 root root 4096 2009-12-02 17:52 .
>> drwxr-xr-x 4 root root 4096 2009-12-01 03:19 ..
>> -rw-r--r-- 1 root root   10 2009-12-02 17:31 config
>> drwxr-xr-x 2 root root 4096 2009-12-02 17:43 main
>> -rwxr-xr-x 1 root root   33 2009-12-02 17:52 run
>> drwx------ 2 root root 4096 2009-12-02 17:52 supervise
>>
>> root@HOST:~# cat /etc/service/stuff/log/run
>> #!/bin/sh
>> exec svlogd -tt ./main
>>
>> root@HOST:~# cat /etc/service/stuff/log/config
>> s10000000
>>
>> I think everything is right but if anyone has a suggestion I would
>> appreciate it.
>>      
> The config file should be in the log files directory (so in your case
> in ./main)
>
>    

-- 
Name: Joseph A. Williams
Email: joe@joetify.com
Blog: http://www.joeandmotorboat.com/



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-02 22:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-02 20:57 log/config ignored Joe Williams
2009-12-02 22:00 ` Rafal Bisingier
2009-12-02 22:36   ` Joe Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).