Care2x Development Blog

All the news regarding Care2x development

Care2x access logs to db importer

One of the last improvements in the care2x svn was the ability to store access logs into a sqlite db to simplify up security checks. But what to do with the old log files ?

I’ve put up a simple script to do this. It’s not the fastest thing on earth, but will get the job done.

You can download it from here.

The usage is quite simple :

php log_parser /path/to/logs/dir

It will create a sqlite db in the directory being executed which you can then copy to the logs directory.

And yes it’s a CLI. Since this way there is no max_execution_time problem.

Download it, test it, hack it 🙂


Filed under: care2x rc_2

%d bloggers like this: