Add support for logging to file or syslog instead of stdout

This commit is contained in:
Neil Alexander 2019-06-28 23:45:04 +01:00
parent 2fd3ac6837
commit 93a323c62c
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 20 additions and 2 deletions

View file

@ -232,7 +232,7 @@ func (c *Core) GetSessions() []Session {
// from git, or returns "unknown" otherwise.
func BuildName() string {
if buildName == "" {
return "unknown"
return "yggdrasil"
}
return buildName
}