0

I have a nginx log file where lines being with:

192.168.1.254 - - [05/Feb/2023:13:35:36 +0100] # followed by request, response, user-agent etc.

In the goaccess.conf file, I have this:

date-format %d/%b/%Y
time-format %H:%M:%S %z
log-format %h - - [%d:%t] "%r" %s %b "%R" "%u"

When I run goaccess on the file, I get:

Token '05/Feb/2023' doesn't match specifier '%d'

For the life of my I can't figure out why 05/Feb/2023 doesn't match %d/%b/%Y, especially considering that if I run date +"%d/%b/%Y" I get 05/Feb/2023.

According to the developer, this is an isolated case with my machine, which is running macOS 12.6.2 on Intel. But what could be causing it?

Thanks for your help.

Cirrocumulus
  • 520
  • 3
  • 15

0 Answers0