Skip to content

Commit

Permalink
Fix config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ramos committed Feb 4, 2017
1 parent 5dba6a4 commit 4f23c60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,15 @@ func main() {
nlClient := NewNetlinkClient(config.GetInt("socket_buffer.receive"))
marshaller := NewAuditMarshaller(
writer,
uint16(config.GetInt("event.min")),
uint16(config.GetInt("event.max")),
uint16(config.GetInt("events.min")),
uint16(config.GetInt("events.max")),
config.GetBool("message_tracking.enabled"),
config.GetBool("message_tracking.log_out_of_order"),
config.GetInt("message_tracking.max_out_of_order"),
createFilters(config),
)

l.Println("Started processing events in the range [%d, %d]", config.GetInt("event.min"), config.GetInt("event.max"))
l.Printf("Started processing events in the range [%d, %d]\n", config.GetInt("events.min"), config.GetInt("events.max"))

//Main loop. Get data from netlink and send it to the json lib for processing
for {
Expand Down

0 comments on commit 4f23c60

Please sign in to comment.