Where is /var/log/messages on Ubuntu 12.04-b1 (Precise) ?

To enable /var/log/messages is disabled in the beta-1 version of Ubuntu Precise Pangolin (download here), do the following:

Edit /etc/rsyslog.d/50-default.conf and uncomment the lines

*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages

Then restart the rsyslog daemon:

# service rsyslog restart

(Reference: Ubuntu forums)

About these ads

2 Comments »

  1. Arvind Das said

    Thanks a lot . You saved my day. I was struggling after compiling helloworld kernel module. Thanks a lot :)

  2. […] Another possible pointer to the missing /var/log/messages in Ubuntu […]

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: