develooper Front page | perl.ldap | Postings from January 2018

[Q] what is the right way to log what script does?

Thread Next
From:
Zeus Panchenko
Date:
January 19, 2018 14:28
Subject:
[Q] what is the right way to log what script does?
Message ID:
20180119162628.21988@relay.xx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

I need to know what script did ... 

what is the best way to log script all LDAP related activity?

is it something like?

sub each_ldap_related_anything {
  ...
  use Storable;
  store \%all_things_to_log, 'file';
  ...
}

- -- 
Zeus V. Panchenko				jid:zeus@im.ibs.dn.ua
IT Dpt., I.B.S. LLC					  GMT+2 (EET)
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlpiABQACgkQr3jpPg/3oyoVAACghr0xx0ny13u3CNz9SqduHded
qFkAoOQ3wM05SYltaR88x6taHAwyM70Z
=uHoO
-----END PGP SIGNATURE-----

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About