Title: Success/warning/etc messages are not shown after update to 1.3.0, if loglevel is info · Issue #33 · splitbrain/php-cli · GitHub
Open Graph Title: Success/warning/etc messages are not shown after update to 1.3.0, if loglevel is info · Issue #33 · splitbrain/php-cli
X Title: Success/warning/etc messages are not shown after update to 1.3.0, if loglevel is info · Issue #33 · splitbrain/php-cli
Description: Hello, after update to 1.3.0, all channels except info are not shown. You can actually run examples/logging.php to see that only debug message will be shown. I would expect that when you select logging level to "debug" to see all message...
Open Graph Description: Hello, after update to 1.3.0, all channels except info are not shown. You can actually run examples/logging.php to see that only debug message will be shown. I would expect that when you select log...
X Description: Hello, after update to 1.3.0, all channels except info are not shown. You can actually run examples/logging.php to see that only debug message will be shown. I would expect that when you select log...
Opengraph URL: https://github.com/splitbrain/php-cli/issues/33
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Success/warning/etc messages are not shown after update to 1.3.0, if loglevel is info","articleBody":"Hello,\r\n\r\nafter update to 1.3.0, all channels except info are not shown.\r\n\r\nYou can actually run examples/logging.php to see that only debug message will be shown.\r\n\r\nI would expect that when you select logging level to \"debug\" to see all messages ,while if I set to emergency, then to see only \"emergency\" errors. Currently it works in the opposite way: Emergency shows everything, debug show only debug messages.\r\n\r\nReason is in this method:\r\n ```\r\n public function setLogLevel($level)\r\n {\r\n if (!isset($this->loglevel[$level])) $this->fatal('Unknown log level');\r\n $enable = true;\r\n foreach (array_keys($this->loglevel) as $l) {\r\n $this->loglevel[$l]['enabled'] = $enable;\r\n if ($l == $level) $enable = false;\r\n }\r\n }\r\n```\r\n\r\nOrder of loglevels should be reversed, or $enabled should be false by default.\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/olelis","@type":"Person","name":"olelis"},"datePublished":"2024-01-16T07:21:40Z","url":"https://github.com/splitbrain/php-cli/issues/33"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e076307-bb93-7f3b-4b4e-f978e19a1cf9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3B0:1148D3:8A026D:B20331:6B00EC52 |
| html-safe-nonce | 80d0b7cdd4c19c741bdc01f50f870782e31fdd402579fd2cc991fcadeb636d97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0IwOjExNDhEMzo4QTAyNkQ6QjIwMzMxOjZCMDBFQzUyIiwidmlzaXRvcl9pZCI6IjEzMjAxOTEyMTEwNjMwMTI0MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 996fb5923ef505221c2a9cefb269ea5a8daf6d6e9ed554816fb9fd70675e1d91 |
| hovercard-subject-tag | issue:2083166111 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/splitbrain/php-cli/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/194bcea8c7ee199ffc7fafa4fb966b3292611738b258602f7ffefaa3c38645b9/splitbrain/php-cli/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/194bcea8c7ee199ffc7fafa4fb966b3292611738b258602f7ffefaa3c38645b9/splitbrain/php-cli/issues/33 |
| og:image:alt | Hello, after update to 1.3.0, all channels except info are not shown. You can actually run examples/logging.php to see that only debug message will be shown. I would expect that when you select log... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | olelis |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/splitbrain/php-cli git https://github.com/splitbrain/php-cli.git |
| octolytics-dimension-user_id | 86426 |
| octolytics-dimension-user_login | splitbrain |
| octolytics-dimension-repository_id | 58226993 |
| octolytics-dimension-repository_nwo | splitbrain/php-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58226993 |
| octolytics-dimension-repository_network_root_nwo | splitbrain/php-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width