Hi,

I have an issue where the hostname for the local machine is missing from the
logs, I'm getting this and I'm not quite sure where the problem is

<78>Dec  3 08:01:01 CROND[6672]: (root) CMD (run-parts /etc/cron.hourly)
<86>Dec  3 08:14:06 sshd[6699]: Accepted publickey for foo from 192.168.0.5
port 46496 ssh2
<86>Dec  3 08:14:06 sshd[6699]: pam_unix(sshd:session): session opened for
user foo by (uid=0)
<78>Dec  3 09:01:01 CROND[6809]: (root) CMD (run-parts /etc/cron.hourly)

/etc/nxlog.conf
----------------------------------------------------------------------------
------------------------------------------
########################################
# Global directives                    #
########################################
User nxlog
Group nxlog

LogFile /var/log/nxlog/nxlog.log
LogLevel INFO

include /etc/nxlog.d/*.conf


/etc/nxlog.d/01-local.conf
----------------------------------------------------------------------------
------------------------------------------
#
# Syslog module
<Extension syslog>
        Module  xm_syslog
</Extension>
#
# kernel stuff
<Input kern_in>
        Module  im_kernel
        Exec            parse_syslog_bsd();
</Input>
<Output kern_out>
        Module  om_file
        File            "%KERNLOG%"
</Output>
<Route kern_route>
        Path            kern_in => kern_out
</Route>

#
# Everything else
<Input uds_in>
        Module  im_uds
        uds             /dev/log
        Exec            parse_syslog_bsd();
</Input>
<Output uds_out>
        Module  om_file
        File            "%LOCALOG%"
</Output>
<Route uds_route>
        Path            uds_in => uds_out
</Route>


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to