Logging in simplesaml PHP

76 views
Skip to first unread message

Bhagwat, Shrikant

unread,
Apr 28, 2023, 5:37:04 PM4/28/23
to simple...@googlegroups.com

I have setup SimpleSAML PHP (simplesamlphp-1.19.5)  in Redhat Apache server connected to my SAML 2.0 IDP. How Do I enable log for Simple samlphp file

The log folder is empty.  Below is setting in config.php

 

*/

    'logging.level' => SimpleSAML\Logger::NOTICE,

    'logging.handler' => 'file',

 

 

Let us know

 

Thanks

 

SB

 

 

 

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues

Tim van Dijen

unread,
May 1, 2023, 3:55:10 AM5/1/23
to SimpleSAMLphp
Hi Shrikant,

Configuring SimleSAMLphp like this means Apache is going to try and write into the `logdir` directory.
https://github.com/simplesamlphp/simplesamlphp/blob/master/config/config.php.dist#L69

You have to make sure Apache has the proper permissions to do that.

- Tim

Op vrijdag 28 april 2023 om 23:37:04 UTC+2 schreef Bhagwat, Shrikant:
Reply all
Reply to author
Forward
0 new messages