r/C_Programming • u/HideMyLogMsg • Jun 09 '26
I am providing a free C-Program application logger library for your feedback.
I would greatly appreciate your feedback on:
1. Would you use this free library “as is” in your application.
2. If not, what changes would encourage you to use it.
3. Is there any capability you think is important to add.
No header file is needed and easy-to-use printf() style interface. Uses a Bound Parameter approach to decode, analyze and validate log input arguments to ensure valid usage, fail-safe and reliable log message generation. API example:
LoggerAppsMsg(1,Main,Info,"Support format specifiers are %s, %d, %f, %c, %x, %p",”string value”,99,3.4,”C”, 0x3d59ba4f, “string_pointer”);
Downloads and documentations: https://github.com/wandi-ssal/secure-application-logger
Quick technical summary: https://github.com/wandi-ssal/secure-application-logger/blob/main/Wandi-SSAL-Free-API-Library-Technical-Summary.pdf
How the Bound Parameter works: https://github.com/wandi-ssal/secure-application-logger/blob/main/Wandi-SSAL-Bound-Capabilities.pdf
This free library is part of another effort to eventually produce a viable commercial product that:
- decode, analyze and validate log message for unintentional and malicious usage. This free C-Program library.
- encode and protect log message to ensure confidentiality, integrity, authenticity and reduce RAM and disk usage during development and deployment.
- allow only authenticated users access to protected log message.
This download library was built on Ubuntu 18.04.6 LTS. Let me know if there is any interest for other OS platforms and I will try to provide them. Thank you.
NOTE: This post was not derived from AI and I did not use AI to create the Github.com project reference by this post.
•
u/AutoModerator Jun 09 '26
Hi /u/HideMyLogMsg,
Your submission in r/C_Programming was filtered because it links to a git project.
You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.
While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/flyingron Jun 10 '26
Absolutely lousy pig-in-a-poke. The functions are not even properly defined in the documentation, let alone provided in an include file with their declarations. You don't even indicate what the target platform is other than it is some ANCIENT version of Ubutnu (for what hardware?).
Nice try, but it is 200% unusable the way it is.
And dumping the binaires into a zip into github, isn't exactly configuration control.
3
u/DankPhotoShopMemes Jun 10 '26
Sorry, but I don’t really understand this project. Is it just checking the validity of the format string and string arguments, and logging with time information into a file?
Also, if you don’t include a header file, then you’re using implicit function declarations, which means you get zero type checking for the arguments.
There are many mature open-source thread-safe logging libraries for C like zlog that you should look into.
1
u/gizahnl Jun 10 '26
What's the benefit over syslog, or even better, systemD journalling?
At least SystemD journalling allows me to do structured logging.