Questions tagged [logs]
Using the Joomla JLog class to write log entries to the \logs folder.
11
questions
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 ...
4
votes
1answer
131 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;...
3
votes
1answer
56 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 ...
3
votes
2answers
4k 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/...
2
votes
1answer
42 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 ...
2
votes
0answers
60 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 ...
1
vote
1answer
47 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('...
1
vote
1answer
33 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
22 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 ...
0
votes
1answer
56 views
Problem Displaying User Action Logs in the updated Joomla 3.9. *
I don't remember which version I started with Joomla. However, I have been using it for about 5-6 years. The latest version is 3.9.23.
Due to a problem we are experiencing, I need information on the ...
0
votes
1answer
83 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 ...