Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate/Enable Logger not working #983

Closed
mansionsoftware opened this issue Jul 10, 2018 · 4 comments
Closed

Activate/Enable Logger not working #983

mansionsoftware opened this issue Jul 10, 2018 · 4 comments

Comments

@mansionsoftware
Copy link

Hi,
In hybridAuth config I have provided the following details,
"debug_mode" => true,
"debug_file" => "/tmp/hybridAuthLog.log",

But this not generated any log file in the path. Is there any other reference to create a log file for debugging.

Please let me know.

Thanks

@ApacheEx
Copy link
Member

does this path is writable ? do you have an access to modify it?

@ApacheEx ApacheEx added this to the 2.x milestone Jul 10, 2018
@mansionsoftware
Copy link
Author

Yes the path is writable. And I have access to modify it.

@Shade-
Copy link
Contributor

Shade- commented Oct 7, 2018

If you are extending Hybridauth class, try with the following code in your class constructor:

$this->logger = new Logger('debug', 'file path');

@ApacheEx ApacheEx removed this from the 2.x milestone Oct 3, 2019
@ApacheEx
Copy link
Member

I'm closing this issue since v2 is under Maintenance mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants