-
-
Couldn't load subscription status.
- Fork 3.7k
Closed
Labels
Description
When Joomla logs to a file (say in Joomla, global config, logging = on) it does so with the following format
#
#<?php die('Forbidden.'); ?>
#Date: 2021-04-15 19:34:10 UTC
#Software: Joomla! 4.0.0-beta8-dev Development [ Mañana ] 2-February-2021 20:02 GMT
#Fields: datetime priority clientip category message
2021-04-15T19:34:10+00:00 INFO 172.20.0.1 joomlafailure Username and password do not match or you do not have an account yet.
2021-04-15T20:39:04+00:00 INFO 172.20.0.1 joomlafailure Username and password do not match or you do not have an account yet.
2021-04-15T20:39:09+00:00 INFO 172.20.0.1 joomlafailure Username and password do not match or you do not have an account yet.
If you'll try to parse log file with php - you'll receive a wrong result because seperator is tab for all columns except priority and clientip. There is a space between it.
