Re: Don't see anything in the logs. (Solaris)

From: Brian Gupta <brian.gupta#gmail.com>
Date: Sat, 3 May 2008 11:14:06 -0400


Ok, it is definitely the Solaris x86 build of the application, not my configuration file. (No errors during compiling, so it is likely a bug).

I have access to a Sparc system and tested my config there with the precompiled Sparc binary.

Does anyone have haproxy syslog logging working for Solaris x86?

Thanks,
Brian

On Fri, May 2, 2008 at 2:55 PM, Brian Gupta <brian.gupta#gmail.com> wrote:
> I forget to mention that I am running 1.3.15
>
>
>
> On Fri, May 2, 2008 at 2:50 PM, Brian Gupta <brian.gupta#gmail.com> wrote:
> > I put the following in syslog.conf and restarted syslog:
> > -------------------------------------------------------------------------
> > local0.debug /var/log/haproxy
> >
> > Running:
> > -------------
> > "logger -p local0.debug test7" logs "May 2 18:33:55 xxxx.xxxx.com
> > root: [ID 702911 local0.debug] test7". This means the local0 facility
> > is configured properly.
> >
> > I have the following relevant options in my haproxy.cfg:
> > -------------------------------------------------------------------------
> > global
> > daemon
> > log 127.0.0.1 local0
> > pidfile /var/run/haproxy.pid
> > user haproxy
> > group haproxy
> >
> > defaults
> > log global
> > option httplog
> >
> > Running:
> > ------------
> > "./haproxy -f /etc/haproxy.cfg" doesn't show anything in the logfile.
> > Neither does "./haproxy -f /etc/haproxy.cfg -D -p /var/run/haproxy.pid
> > -sf $(</var/run/haproxy.pid)" (refresh config)
> >
> > Hitting the listener with a browser doesn't yield any logs either.
> > What am I missing?
> >
> > Thanks,
> > Brian
> >
> > --
> > - Brian Gupta
> >
>
>
>
> --
> - Brian Gupta
>
> http://opensolaris.org/os/project/nycosug/
>
> http://www.genunix.org/wiki/index.php/OpenSolaris_New_User_FAQ
>

-- 
- Brian Gupta

http://opensolaris.org/os/project/nycosug/

http://www.genunix.org/wiki/index.php/OpenSolaris_New_User_FAQ
Received on 2008/05/03 17:14

This archive was generated by hypermail 2.2.0 : 2008/05/03 17:15 CEST