DateFormat in global directives

View thread

derqurps

I was trying to change the global DateFormat as stated in the docs to be able to have the milliseconds included in the output after parsing json, but when i start nxlog i get the message "Invalid keyword: DateFormat at /etc/nxlog.conf"

########################################
# Global directives                    #
########################################
User nxlog
Group nxlog

LogFile /var/log/nxlog/nxlog.log
LogLevel INFO

DateFormat "YYYY-MM-DDThh:mm:ss.sUTC"

The version of nxlog is 2.9.1716 (nxlog-ce)

Am i doing something wrong? Or is this function not supported in the community edition?

Thanks,

Roman