Redirecting shibd -t output

Cantor, Scott cantor.2 at osu.edu
Wed Sep 9 10:02:30 EDT 2015


On 9/9/15, 8:53 AM, "users on behalf of Guy Tadi" <users-bounces at shibboleth.net on behalf of tadiguy812 at gmail.com> wrote:

>I'm trying to pipe the output of shibd -t to an application using popen(). I'm able to extract the "WARN Shibboleth.AttributeExtractor.XML : attribute mappings are reloadable;
> be sure to restart web server when adding new attribute IDs" and any other warnings but I can never seem to get the last statement"overall configuration is loadable, check console for non-fatal problems" that follows.Is there anything different between how the warnings are generated and how the "... configuration is loadable ..." statement is generated?

One is logging output written to wherever the console logging configuration is set to go, and the other is being written directly to stdout with fprintf. I would assume both would be stdout.

> For instance is it generated by a subprocess or has some special character besides newline that delimits the two?

There's no subprocess, it doesn't fork with that option.

>My other question is what do I need to change to get rid of the AttributeExtractor warning above?

Make the configuration of that component non-reloadable.

-- Scott



More information about the users mailing list