improve log when debugging.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 7 Jan 2012 21:25:03 +0000 (19:25 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Wed, 1 Feb 2012 00:01:00 +0000 (22:01 -0200)
commite3cb0900dd58a4b3a5c85ef52983b1e65931150b
tree162f386c49d1b78eac8a2a9eb7740955bf7dc327
parent9226ddad2c8db413c85bb102c47c34ca040934e4
improve log when debugging.

Some messages may happen more than once in the same function and
discovering the line is hard. Now we print the actual log priority
that exposed the message as well as filename and line.

NOTE: We should consider printing the log priority in the non-debug
version as well.
libkmod/libkmod.c