We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [logs]

Using the Joomla JLog class to write log entries to the \logs folder.

Filter by
Sorted by
Tagged with
1
vote
0answers
11 views

How do I unit test component methods that use the logger?

I have unit tests running for my component (using a bootstrap file to get the usual requirements) but as soon as I add any logging, I get: Class '\Joomla\CMS\Log\Log' not found` I have tried ...
0
votes
1answer
59 views

Joomla 4 beta - Internal Service Error but no logged error

I've installed Joomla 4 beta 7 for development upgrading a Joomla 3 component. I have my logs (apparently) working correctly and I have test error log messages printing to the PHP error log as ...
4
votes
1answer
116 views

FTP Layer - How to do Logging?

I have a custom extension where I need to write information to a log file. For this I am using this code: jimport('joomla.log.log'); // Include the log library $priorities = JLog::ALL ^ JLog::WARNING;...
0
votes
1answer
21 views

Folder 1new created during Joomla update

I recently updated my Joomla installation and noticed that the installer created folder named 1new on the server. Folder contains two subfolders; tmp and logs. Logs folder contains two files ...
3
votes
2answers
3k views

PHP Fatal error: Class 'ContentHelperRoute' not found

I am getting this line in the error_log of a Joomla! 3.6.5 site every so often: [21-Dec-2016 18:29:41 America/Detroit] PHP Fatal error: Class 'ContentHelperRoute' not found in /path/to/site/...
3
votes
1answer
51 views

Are there any tools or components for jLogger?

I use jLogger a great deal, but get tired of constantly opening an editor, finding the file, etc. etc.. Is there a way I should be looking at these files, or is there a tool that I'm not aware of? It ...
2
votes
1answer
41 views

Save in logs files changes of Language Manager

I can not find how to write in log files of extentions Language Manager the following information: -user name -name of the constant - old value - new value Please see the image As I understand I ...
4
votes
1answer
2k views

Using relative paths for tmp and log

This should be a simple one but my installation is in a state where I cannot be sure what I am doing wrong. I wanted to be able to use relative paths for my tmp and log folders. They used to be full ...
1
vote
1answer
45 views

JLoader for JLog

I'm currently using the following to load JLog: jimport('joomla.log.log'); I'd like to make use of JLoader, however I'm unsure as to which file I need to register. Would I use: JLoader::register('...
2
votes
0answers
59 views

Http access threads going to incorrect Joomla directory [closed]

I've been looking at some httpd threads with strace and noticed a ton of locations that are incorrect: access("/var/www/html/libraries/cms/database/database.php", F_OK) = -1 ENOENT (No such file ...