Log to File

This commit is contained in:
Florian Märkl 2019-08-06 15:42:51 +02:00
parent db25969efa
commit 1811fe2133
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
4 changed files with 96 additions and 7 deletions

View file

@ -65,6 +65,7 @@ int main(int argc, char *argv[])
StreamSessionConnectInfo connect_info;
connect_info.log_level_mask = CHIAKI_LOG_ALL & ~CHIAKI_LOG_VERBOSE;
connect_info.log_file = CreateLogFilename();
connect_info.host = host;
connect_info.registkey = parser.value(regist_key_option);