Skip to content
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

[ApiServer] Log level passed via flags isnt respected #3265

Open
LaurenceJJones opened this issue Sep 29, 2024 · 2 comments
Open

[ApiServer] Log level passed via flags isnt respected #3265

LaurenceJJones opened this issue Sep 29, 2024 · 2 comments
Labels
Milestone

Comments

@LaurenceJJones
Copy link
Contributor

When passing a startup flag to crowdsec such as:

if istrue "$LEVEL_TRACE"; then
ARGS="$ARGS -trace"
fi
if istrue "$LEVEL_DEBUG"; then
ARGS="$ARGS -debug"
fi
if istrue "$LEVEL_INFO"; then
ARGS="$ARGS -info"
fi
if istrue "$LEVEL_WARN"; then
ARGS="$ARGS -warning"
fi
if istrue "$LEVEL_ERROR"; then
ARGS="$ARGS -error"
fi
if istrue "$LEVEL_FATAL"; then
ARGS="$ARGS -fatal"
fi

it seems the ApiServer does not inherit these flags from the base configured logger.

Link: #3070

Copy link

@LaurenceJJones: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

@LaurenceJJones: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind bug
  • /kind packaging
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@LaurenceJJones LaurenceJJones added this to the 1.6.4 milestone Oct 15, 2024
@buixor buixor modified the milestones: 1.6.4, 1.6.5 Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants