RMID #54

Output can now be determined by users with filename field in
log_params structure.
If filename is an empty string, logs will be written on stdout
else, they will be written in corresponding file (if user has right
to create/update this file).