New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add log module #174
add log module #174
Conversation
|
Hello, what is use case for this? "I'm admin and I want to audit what commads were used" or what? Have you tried, http://www.freeipa.org/page/Centralized_Logging ? Does it match your use case? I folowing serious notes:
|
|
Yes. As you see, our use case is I'm admin and want to audit what commads were used.
BTW, there is still no respond about joining Chinese translation organization in zanata https://fedora.zanata.org/language/view/zh-CN?dswid=2727 |
In this case, if it is only for admins I endorse you to use centralized logging:
Yes, master differs from 4.3, and as I said, new features are merged only to master, 4.3.x is only for bugfixes
Where is this enforced in code? AFAIK you are accessing log as httpd user
FreeIPA supports multimaster topology, your current implementation shows only history of commands from the server where a user is actually connected. It will not provide history from all servers.
IMO Kibana and centralized logging shows log information in nice way too
Have you tried others way how to get into? Maybe ask teamlead on IRC |
|
I'm sorry didn't reply your message in time.
I have got the reply of the translation organization, but still in the stage of authentication. I will try to see if there is a permission to translate on freeIPA after certification. Thank you. |
|
@shanyin Did centralized logging meet your requirements? |
|
I tried to use the centralized logging, but My system is Ubuntu, and the ipa-log-config tool is only supported by RHEL 7 / CentOS 7 currently. So, the centralized logging is not configured successfully. 祝: 工作顺利!生活愉快!长沙研发中心 郑磊 ------------------ Original ------------------ @shanyin Did centralized logging meet your requirements? — |
|
@mbasti-rh I've already finished my translation basically On Zanata. The URL is https://fedora.zanata.org/webtrans/translate?project=freeipa&iteration=master&localeId=zh-CN&locale=en-US&dswid=9896#view:doc;doc:po/ipa |
|
@shanyin great, I suppose you want those translations in IPA 4.4.x, so I could try to copy them from master. |
|
Hello, we agreed on devel meeting that this is not the right way how to audit/log inspection should be done with FreeIPA:
However we would like to merge some parts of your PR:
Also we endorse you to create an IPA httpd log parser as separate CLI project from this PR which may be helpful for other users as lightweight solution compared to centralized logging. Thank you! |
|
What do you mean is that I should send the log codes as separate PR? If so, I will do it later. 祝: 工作顺利!生活愉快!长沙研发中心 郑磊 ------------------ Original ------------------ Hello, we agreed on devel meeting that this is not the right way how to audit/log inspection should be done with FreeIPA: centralized logging is preferred solution However we would like to merge some parts of your PR: fix for missing translation strings improvement of logging that might help you and can improve value of logs for users Would be awesome if you can send them as separate PR. Also we endorse you to create an IPA httpd log parser as separate CLI project from this PR which may be helpful for other users as lightweight solution compared to centralized logging. Thank you! — |
|
I am sorry that the follow comments could not be sent successfully. What do you mean is that I should send the log module as separate PR? If so, I will do it later. |
|
Hello, what I meant was to send fixing of missing translations strings as separated PR and if you identified any parts of code that should be logged too, you can send a PR too. Basically your changes in: |
|
Hello, |
add log module on the ipa-4-3 branch, the function of log module is to record any of our operation.