-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

André Warnier wrote:
> Anyway, my question is :
> In this /etc/init.d/tomcat5.5 file, in the "start" section, there is a
> line that looks like this :
> mkfifo -m700 "$CATALINA_BASE/logs/catalina.out
> 
> I am unfamiliar with the mkfifo command.

The man page is no help unless you know what a 'fifo' is. Of course,
mkfifo creates a fifo! (duh)

This will help: http://en.wikipedia.org/wiki/Named_pipe

As Brantley points out, Debian is using a fifo (an object on the
filesystem) to subvert Tomcat's usual, non-rotatable catalina.out output
file and instead sending all those bytes to some other program for
likely depositing onto the filesystem in nice, date-stamped files.

> Does the fact that the "rotatelogs" utility is also used some lines
> further down shed any light onto this ?

Probably. I'm not familiar with 'rotatelogs' specifically, but it stands
to reason that they'd create a consumer for all those log bytes expected
to be streaming out to catalina.out after Tomcat starts.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjQKyQACgkQ9CaO5/Lv0PB+HACfYxOO4+3+AZ+1qf5+SADSMXJV
c7EAoKKX9kSrCf6+zp5j0Rvdj8oTAQVU
=Ua3g
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to