alphasoc / nfr

A lightweight tool to score network traffic and flag anomalies
https://alphasoc.com
Other
122 stars 19 forks source link

Namescore is logging empty lines #26

Closed ioj closed 7 years ago

ioj commented 7 years ago

I'm running a daemon and it keeps adding empty lines to its log file:

[root@biuro phob0s/alphasoc]# ls -la
total 24
drwx------ 3 root root 4096 Feb 28 12:01 .
drwx------ 3 root root 4096 Feb 28 11:48 ..
drwx------ 2 root root 4096 Feb 28 11:48 backup
-rw-r----- 1 root root    3 Feb 28 12:01 follow
-rw------- 1 root root    3 Feb 28 12:01 namescore.log           <-- size 3
-rw-r----- 1 root root   87 Feb 28 11:48 namescore.toml
[root@biuro phob0s/alphasoc]# ls -la
total 24
drwx------ 3 root root 4096 Feb 28 12:01 .
drwx------ 3 root root 4096 Feb 28 11:48 ..
drwx------ 2 root root 4096 Feb 28 11:48 backup
-rw-r----- 1 root root    3 Feb 28 12:01 follow
-rw------- 1 root root    4 Feb 28 12:01 namescore.log           <-- size 4
-rw-r----- 1 root root   87 Feb 28 11:48 namescore.toml
[root@biuro phob0s/alphasoc]# ls -la
total 24
drwx------ 3 root root 4096 Feb 28 12:02 .
drwx------ 3 root root 4096 Feb 28 11:48 ..
drwx------ 2 root root 4096 Feb 28 11:48 backup
-rw-r----- 1 root root    3 Feb 28 12:02 follow
-rw------- 1 root root    5 Feb 28 12:02 namescore.log           <-- size 5
-rw-r----- 1 root root   87 Feb 28 11:48 namescore.toml
[root@biuro phob0s/alphasoc]# cat namescore.log 

[root@biuro phob0s/alphasoc]# 
phob0s-pl commented 7 years ago

fixed