I have enabled the inbuilt logging within Codeigniter. This works fine.
However I’m running a particular script through the command line interface, of which works fine, however none of the normal logs are being updated. If I call the script through http the logs update fine.
Is it some built in feature within CI that running through the CLI won’t update the logs, or do I have a problem somewhere?
Well there is normally a difference in the user that CI uses to write the logs.
If you are using the browser it may be using an Apache Web-User like ours does.
If you do it through the command line you are normally logged in as yourself. Do you have write permissions to the log file?