All Thanks for your answers, I've set up my question not accurately enought. I would like to have a file logging the activity of dmesg after boot as well. I'm not sure it is the reight way to set it up.
Here's my problem, I've seen on the screen in console tty0 the blue lines of kernel messages which were related to hard drive hardware failures being catched and automatically repaires in the way the hard disk are able to manage them. Those informations were as I said coming from kernel and therefore I would like to log them and have a review after a while, e.g. if the machine is rebooted meanwhile they are not lost. So I assumed they were shown through dmesg, but I'm not sure about this. Maybe you could help me a bit. Regards