Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Evaluation of my CPAN module

by anonymized user 468275 (Curate)
on Aug 16, 2018 at 21:31 UTC ( [id://1220462]=note: print w/replies, xml ) Need Help??


in reply to Evaluation of my CPAN module

Tricky but what the hell here goes -- I would advise raising your helicopter view a mile or so. The challenge, especially if you are providing a solution to the whole world via CPAN, tends in the context to be to design a cohesive logging system for diverse components written in different sources (fail that and your efforts are relatively futile) e.g. perl, c, bash, SQL, (update plus system and http logs) that meets at least the following criteria:

Logging has the same format especially timestamp for all components in the system.

Originating source of each line of logging can be easily determined from the line of logging.

Logged info must be designed to assist support engineers as well as developers (best achieved by separate or concatenated logging for each audience type

The difference between the line of logging and further information and/or guilty data needs to be clear from the logging syntax you choose.

and whatever else other monks might notice (it is also getting late for me).

I would also advise using a namespace that is less mistakable with the mathematical concept of log, i.e. use Logging instead of log. My first thought was that your module had something to do with logs to base 4 which I suggest is not so stupid given that logs to base 8 are important in devORops - a profession I recently accidentally adopted which might well be on the up.

upd+ ok you can get away with some diversity and nonconformity but you cannot ignore what the overall objective of logging is (support/maintenace of an application system) to the extent you seem to have done so in the narrowness of your scope.

upd+ if you do design it for more general use, you'd want to make a callable API of it and have your Perl module also call that.

One world, one people

Replies are listed 'Best First'.
Re^2: Evaluation of my CPAN module
by tobyink (Canon) on Aug 16, 2018 at 22:05 UTC

    I would also advise using a namespace that is less mistakable with the mathematical concept of log

    The Log::* namespace is already widely in use for logging modules. I'm not aware of any modules in that namespace which deal with logarithms.

      I believe you, but logging would be a clearer term to differentiate from log, given that log (=logarithm) is a standard/core function. The harder question is whether the group will be willing to migrate the whole namespace ;)

      One world, one people

        but logging would be a clearer term ...

        Unless one has some connection with the timber industry ... ;-)

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1220462]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-24 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found