bugfix: use __dirname with local paths
display log file name in the title page