No Logging for IdP4.0.0

christian.hauff at rennschmiede-pforzheim.de christian.hauff at rennschmiede-pforzheim.de
Fri Apr 17 11:35:27 EDT 2020


That solved the issue, thanks a lot!

Jan Oppolzer schrieb am 17.04.2020 16:19 (GMT +02:00):

> On Fri, Apr 17, 2020 at 04:06:05PM +0200,
> christian.hauff at rennschmiede-pforzheim.de wrote:
>> Despite following the Installation manual, we don't get any log files
>> from the IdP at all.
> 
> This seems to me like an issue with systemd. Each service is allowed to
> write only to specified directories.
> 
> For example using Jetty in Debian 10 (Buster), I've had to edit jetty9
> service:
> 
> # systemctl edit jetty9
> 
> And add the following:
> 
> [Service]
> ReadWritePaths=/opt/shibboleth-idp/logs/
> ReadWritePaths=/opt/shibboleth-idp/metadata/
> 
> Then reload daemon and restart Jetty:
> 
> # systemctl daemon-reload
> # systemctl restart jetty9
> 
> After this configuration change, Jetty is allowed to write to the
> following paths:
> 
> # systemctl show jetty9 | grep ReadWritePaths
> ReadWritePaths=/var/lib/jetty9 /opt/shibboleth-idp/logs
> /opt/shibboleth-idp/metadata
> 
> So I guess, it could help you to change tomcat service accordingly.
> 
> -- 
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list