Thank you, I've moved unit LazLogger into main unit and LazLoggerBase in other unit, now I want set filenamepath of log for output file from code now what I can't understand is where I can set the log filename, because in LazLoggerBase can't find how to set the name... thanks in advance