Topic-icon Error log question

Active Subscriptions:

None
10 years 11 months ago #32880 by jwhelan
Error log question was created by jwhelan
Alex,

I've been doing a deep dive into your plugin code and I noticed that you use two pieces of code that send an item to Apache's error log. These are:

1) error_log('login/register redirect - '.$redirect); (in loginregister.php)
2) error_log('logged into linkedIn, no signoff though.'); (in linkedinprofile.php)

Are you using these merely as flags so you can trace what is happening, or are these real errors?

- JW
The topic has been locked.
Support Specialist
10 years 11 months ago #32887 by alzander
Replied by alzander on topic Error log question
I don't think either of those are part of our original code. The 'error_log' function call is a native PHP call. When we do logging in our extensions, we use JLog, which is the Joomla logger utility class.

Are you sure you didn't add that code? I just searched our code and couldn't find any reference to the above calls you mentioned.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 11 months ago #32914 by jwhelan
Replied by jwhelan on topic Error log question
I'll check back through my GIT commits. Maybe I added those comments during a previous round of troubleshooting.

Thanks!
The topic has been locked.
Support Specialist
10 years 11 months ago #32918 by alzander
Replied by alzander on topic Error log question
No problem, it's what we're here for! Let us know what you find.

Alex
The topic has been locked.