top | item 47107229

(no title)

streetfighter64 | 8 days ago

I mean, all I can really say is... if writing some logging takes you one or two days, are you sure you _really_ know how to code?

discuss

order

boxedemp|7 days ago

Ever worked on a distributed system with hundreds of millions of customers and seemingly endless business requirements?

Some things are complex.

shepherdjerred|8 days ago

You're right, you're better than me!

You could've been curious and ask why it would take 1-2 days, and I would've happily told you.

jamesmcq|7 days ago

I'll bite, because it does seem like something that should be quick in a well-architected codebase. What was the situation? Was there something in this codebase that was especially suited to AI-development? Large amounts of duplication perhaps?

fendy3002|7 days ago

Well someone who says logging is easy never knows the difficulty of deciding "what" to log. And audit log is different beast altogether than normal logging

streetfighter64|5 days ago

Audit logging is different because it's actually more straightforward than "normal logging". You just make a log entry for each state change, basically. Especially if you're storing the log entries as "objects" instead of plain text.

Besides, do you think that a LLM would be better at deciding what to log than a human that has even just a little experience with the actual system in question?

therealdrag0|7 days ago

Audit logging is different than developer logging… companies will have entire teams dedicated to audit systems.

fragmede|7 days ago

We're not as good at coding as you, naturally.

streetfighter64|6 days ago

You're being sarcastic, but clearly what you're saying is literally true. So...