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

Re: Question on logging




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

PGP signature