[BASH] Redirect stdout and stderr to files plus date at each line

view story

http://chakra-project.org – Hi,I know this is not a bash place but I know there is some dev here so...I want to redirect sdtout and stderr to two different logs files with this way : exec 1>$LOG exec 2>$ERROR_LOGIt works. But it's too basic, I want date and time at each lines. With something like that :09/08/2012-01:4624 hours formatI'm supposing I'll use something like that :date +%d\%m\%Y-%0k\:%MI've searched on Google but I've not found my happiness. I think the problem is how to redirect date command to each line written to logs files.Someone can guide me to the good way please ?Cordial (HowTos)