Questions tagged [logs]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer

Error When Saving Modules After J3 - J4 Migration

Recently migrated a J3 site to J4.2.8 I had to uninstall a lot of plugins before the migration, and a few after, but everything appears to be working apart from one thing. In the Joomla admin area, ...
jonboy's user avatar
  • 3,593
2 votes
0 answers

Fatal Error Symfony

Joomla 4.2.8 and PHP 8.0.28 Accessed my website today and noticed this error on the home page (along with a white); Fatal error: Uncaught Error: Class "Symfony\Component\ErrorHandler\...
jonboy's user avatar
  • 3,593
1 vote
1 answer

Change debug variable during cli script execution

I'm trying to make a script to update components and I want to retrieve the logs to check the execution of all the requests related to the update of a component. In the script I use Joomla methods, ...
Jordan Troadec's user avatar
0 votes
1 answer

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 ...
Fatih ATEŞ's user avatar
1 vote
1 answer

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 ...
glenatron's user avatar
  • 239
0 votes
1 answer

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 ...
user101289's user avatar
  • 1,119
5 votes
1 answer

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;...
hbit's user avatar
  • 153
0 votes
1 answer

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 ...
Roger Wayne's user avatar
3 votes
2 answers

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/...
Michael Yaeger's user avatar
3 votes
1 answer

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 ...
GDP's user avatar
  • 7,715
2 votes
1 answer

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 ...
Alex Ros's user avatar
4 votes
1 answer

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 ...
Matt's user avatar
  • 481
1 vote
1 answer

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('...
Lodder's user avatar
  • 26.9k
2 votes
0 answers

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 ...
Tom's user avatar
  • 811