app print to log file