log to separate files, change encryption methods