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

UHF-7265: Improve logging #79

Merged
merged 14 commits into from
Oct 31, 2022
Merged

UHF-7265: Improve logging #79

merged 14 commits into from
Oct 31, 2022

Conversation

tuutti
Copy link
Member

@tuutti tuutti commented Oct 26, 2022

  • composer reinstall drupal/helfi_api_base --prefer-source
  • Go to public/modules/contrib/helfi_api_base folder and checkout this branch (UHF-7265)
  • Run drush cr and drush updb

What to test:

  • Export config (drush cex) and make sure filelog module is uninstalled
  • Cause something to throw an exception and make sure error is logged to container logs (docker compose logs app)
    • For example: Add throw new \InvalidArgumentException('something'); to \Drupal\helfi_api_base\Controller\DebugController::build() and open the debug page (/admin/debug).

@tuutti tuutti changed the title UHF-7265: Replaced filelog module with log_stdout UHF-7265: Replaced filelog module with stdout logger Oct 27, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@tuutti tuutti changed the title UHF-7265: Replaced filelog module with stdout logger UHF-7265: Improve logging Oct 28, 2022
@tuutti tuutti merged commit 4eea1e4 into main Oct 31, 2022
@tuutti tuutti deleted the UHF-7265 branch October 31, 2022 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants