1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added development string to log

This commit is contained in:
James Booth 2013-01-27 21:32:10 +00:00
parent f6176b322b
commit dba48f18b5

View File

@ -521,7 +521,11 @@ _init(const int disable_tls, char *log_level)
files_create_directories();
log_level_t prof_log_level = _get_log_level(log_level);
log_init(prof_log_level);
log_info("Starting Profanity (%s)...", PACKAGE_VERSION);
if (strcmp(PACKAGE_STATUS, "development") == 0) {
log_info("Starting Profanity (%sdev)...", PACKAGE_VERSION);
} else {
log_info("Starting Profanity (%s)...", PACKAGE_VERSION);
}
chat_log_init();
prefs_load();
accounts_load();