[Mongrel] mongrel logging on win32 platform and win32 service

Luis Lavena luislavena at gmail.com
Thu Aug 24 20:45:58 EDT 2006


On 8/24/06, linux user <fanoflinux at gmail.com> wrote:
> On 8/24/06, Luis Lavena <luislavena at gmail.com> wrote:
>
> > On 8/24/06, linux user <fanoflinux at gmail.com> wrote:
> > >
> > > Hi All
> > >
> > > I am using  version 0.3.13.3 and since there is no logging support for
> win32
> > > application. I was wondering if it was possible to get any kind of
> logging
> > > at all.
> > >
> > > I have tried to these two options
> > >
> > > 1. Stream redirection using "mongrel_rails start -c C:/myspace/snapshot
> -p
> > > 4111 -t 70  -e production -P log/mongrel-1.pid > C:\temp\mongrel-1.log"
> > >
> > > The console print the output stream and the mongrel-1.log file shows no
> > > content except the content generated after I kill the server with
> Ctrl-C.
> > >
> > > 2. win32 service "mongrel_rails service::install -N snapshot1 -c
> > > C:\myspace\snapshot -p 4111 -e production -t 70". Now ofcourse the -l
> > > (log_file) option can't be used so where do I see the output/error
> logs??
> > >
> >
> > Have you tried check log/mongrel.log and log/production.log? there is
> > where mongrel outs the information.
>
>
> Is this in the root of the application folder or in the current working
> directory?

The application root directory, specified by the -c option.

Mongrel with Chdir into it, and start rails using it as current directory.

>
> > > So I am basically lost on a very simple thing.
> > >
> > > Please help
> > >
> > >
> > > TIA
> > > -daya
> > >
> > > _______________________________________________
> > > Mongrel-users mailing list
> > > Mongrel-users at rubyforge.org
> > > http://rubyforge.org/mailman/listinfo/mongrel-users
> > >
> > >
> >
> >
> > --
> > Luis Lavena
> > Multimedia systems
> > -
> > Leaders are made, they are not born. They are made by hard effort,
> > which is the price which all of us must pay to achieve any goal that
> > is worthwhile.
> > Vince Lombardi
> > _______________________________________________
> > Mongrel-users mailing list
> > Mongrel-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> >
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>


-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi


More information about the Mongrel-users mailing list