avahi , change the log location


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers avahi , change the log location
# 1  
Old 08-02-2012
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  
Old 08-02-2012
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to change the path location within the shell script?

Hi ALL, I am trying to find the installed tomcat version and location of the server.xml file to get the tomcat port number. Using below script to do that. #!/usr/bin/env bash var1=$(find / -name "version.sh" ! -size 0 2>&1 |egrep -v "tmp|docker") for loc1 in $var1 do ... (1 Reply)
Discussion started by: sravani25
1 Replies

2. 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

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
Login or Register to Ask a Question