-
Notifications
You must be signed in to change notification settings - Fork 775
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 Security Logging Plugin. #1125
Add Security Logging Plugin. #1125
Conversation
* add security logging to file as per dds-spec * add set/get logger to security plugin base classes * logging integration to SecurityManager * add SECURITY_LOGGING macros Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
da3a5a0
to
897dff2
Compare
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Hi @richiware (@richiprosima), Edit: After setting up a new vm with the correct google-mock version I can reproduce this issue. On it 👍. |
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greate job!! There are some coding-style issues. Maybe you might use this uncrustify config file.
|
||
#include <string> | ||
|
||
#include "fastdds/rtps/security/logging/LoggingLevel.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why use " "
used for relative paths instead of < >
? Do you mind to change non-relative includes to < >
? This change could improve compilation time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 5e099c1
Signed-off-by: artivis <jeremie.deray@canonical.com>
Thanks @richiware. The code style is not homogeneous throughout the project. If I apply the config you provide only to my changes, some files may end up with two different styles. On the other hand applying it globally to the files I edited will result in unnecessary long diff. Do you want me to apply the conf only to my changes and have some files with two styles or only where it seems to make sense ? Edit: |
Signed-off-by: artivis <jeremie.deray@canonical.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a linkage error
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
This PR is ready to be merged. It only needs to be fixed the failure with DCO plugin. |
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
Signed-off-by: artivis <jeremie.deray@canonical.com>
@richiware I manually accepted the DCO, as the offending commits were clearly from @artivis . This is ready to be merged |
@artivis Could you confirm it is ready for merging? or is something still pending? |
@richiware this PR is ready indeed 👍. |
Add the Security Logging Plugin.
Currently the plugin logs only to files but ready for a first round of review.
Todo:
Related PR:
Note:
Summary:
Signed-off-by: artivis jeremie.deray@canonical.com