mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 10:51:45 +02:00
Remove SLOG from logging
This commit is contained in:
parent
b27aee80e6
commit
ad8332345f
9 changed files with 55 additions and 99 deletions
|
@ -62,7 +62,7 @@ void Config::init(const std::string& root_directory, const std::string& user, co
|
|||
throw SnapException("failed to create settings directory: \"" + dir + "\": " + cpt::to_string(errno));
|
||||
|
||||
filename_ = dir + "server.json";
|
||||
SLOG(NOTICE) << "Settings file: \"" << filename_ << "\"\n";
|
||||
LOG(NOTICE) << "Settings file: \"" << filename_ << "\"\n";
|
||||
|
||||
int fd;
|
||||
if ((fd = open(filename_.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) == -1)
|
||||
|
@ -83,7 +83,7 @@ void Config::init(const std::string& root_directory, const std::string& user, co
|
|||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
SLOG(ERROR) << "Exception in chown: " << e.what() << "\n";
|
||||
LOG(ERROR) << "Exception in chown: " << e.what() << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue