We want to write information into the log but we don't want to write always in database, we are ok to write to the stdout or a log file, is there some function or service to accomplish this?
Critical processes, exceptions, errors and warning will be logged to database
The trace information we need to write, could be placed in stdout or a logfile