We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e717e5 + 23f0f0c commit 19a26f1Copy full SHA for 19a26f1
1 file changed
logger/syslogd/syslogd.go
@@ -45,7 +45,7 @@ func fileExists(path string) (bool, error) {
45
}
46
47
func getLogFile(m *syslog.Message) (io.Writer, error) {
48
- r := regexp.MustCompile(`^.* ([a-z-]+)\[[a-z0-9\.]+\].*`)
+ r := regexp.MustCompile(`^.* ([-a-z0-9]+)\[[a-z0-9\.]+\].*`)
49
match := r.FindStringSubmatch(m.String())
50
if match == nil {
51
return nil, errors.New("Could not find app name in message")
0 commit comments