We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30fefce commit 9a03722Copy full SHA for 9a03722
1 file changed
logger/syslogd/syslogd.go
@@ -50,7 +50,7 @@ func fileExists(path string) (bool, error) {
50
}
51
52
func getLogFile(message string) (io.Writer, error) {
53
- r := regexp.MustCompile(`^.* ([-a-z0-9]+)\[[a-z0-9-_\.]+\].*`)
+ r := regexp.MustCompile(`^.* ([-_a-z0-9]+)\[[a-z0-9-_\.]+\].*`)
54
match := r.FindStringSubmatch(message)
55
if match == nil {
56
return nil, fmt.Errorf("Could not find app name in message: %s", message)
0 commit comments