avahi , change the log location


 
Thread Tools Search this Thread
# 1  
Error avahi , change the log location

avahi error message goes to /var/log/messages , how can put avahi to log the error in a file /var/log/avahi-error instead of /var/log/messages
# 2  
If it's currently logging to /var/log/messages, it's probably doing so using the syslog daemon.
Find the section in your log that says something like "[ID 123456 daemon.notice]". This is the log facility and level that your app is logging as.

Then just create a new entry in /etc/syslog.conf for this pointing to your new log file location, create a blank file in the log location, and send a SIGHUP to syslogd.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

5 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Using avahi to publish IPV6 DNSservers - Security?

Hello, we use here internal avahi to publish IPV6 DNSservers. It was the easiest way for us to use the service with radvd. Here is the part from the avahiconf: publish-dns-servers=IPV6adress-dns-server This works really fine. But my problem is the security. When you have this config for... (3 Replies)
Discussion started by: darktux
3 Replies

2. AIX

Log Location

Hi, I would like to find out where the system will display the server was shutdown due to power fluctuation. I have check the command errpt and alog -o -t boot |more but not getting the requred information. alog -o -t boot command is not showing the time Time: 9 LEDS: 0x538 invoking... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

3. Solaris

How to change default log location of SMF registered processes.

Hi All, I am trying to change default log location ( var/logs/svc/<component>) of each and evry SMF registered processes and append to particular file (/opt/smf.log) . Please help ................. Thanks in advance !!! Gyan prakash (5 Replies)
Discussion started by: gyan_198
5 Replies

4. UNIX for Dummies Questions & Answers

auto change filemanager folder colors dependent on location in directory hierarchy

Hello, Is it possible to make a file manager use different "colored folders" when browsing specific directories? For example, if I open a gnome file manager and browse my windows share at, smb://192.168.1.101/z/ , can I make those folders appear green? And when I open another instance of... (0 Replies)
Discussion started by: bz43
0 Replies

5. HP-UX

I need to change the location of a netbackup installation

Can anyone tell me how I can change the default location for a netbackup installation to another location on my box? The default location is too small and I want to install in another location that has the adequate space. The Netbackup user manual is USELESS!!:mad::mad: (3 Replies)
Discussion started by: impunchdrunk
3 Replies

Featured Tech Videos