[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on logging



If default should catch everything, when I ran kinit or ktutil,
shouldn't there be something logged to /var/log/krb5lib.log?
Or is there any other switch?

Thanks,
Terry

On 9/14/05, Love Hörnquist Åstrand <lha@kth.se> wrote:

T C <tccheung1@gmail.com> writes:

> Hi,
>
> Is Heimdal logging intended to work only for KDC, or any program linked with
> the library.  For example, I have the following in my /etc/krb5.conf file:
>
> [logging]
>  kdc = FILE:/var/log/krb5kdc.log
>  admin_server = FILE:/var/log/kadmind.log
>  default = FILE:/var/log/krb5lib.log
>
> But I only see logs in krb5kdc.log when I ran the kdc program.  I never
> see anything in krb5lib.log when I ran other Heimdal programs.
> Is this normal?

Default should catch everything, admin_server isn't the name that the
kadmind process logs its messages, it uses "kadmind". Check the
krb5_openlog functions calls in the source-code for now, I'll add the
program names to the manual-pages.

Love