Title: Powershell 6.0.0-1.debian.9 logging to /var/log/syslog is too verbose... · Issue #6032 · PowerShell/PowerShell · GitHub
Open Graph Title: Powershell 6.0.0-1.debian.9 logging to /var/log/syslog is too verbose... · Issue #6032 · PowerShell/PowerShell
X Title: Powershell 6.0.0-1.debian.9 logging to /var/log/syslog is too verbose... · Issue #6032 · PowerShell/PowerShell
Description: Hi there, Opening /usr/bin/pwsh, typing in "hello world." and pressing enter yields 43 (+4 on exit) events to /var/log/syslog. This isn't the case with all of my servers but it is for all of my servers running Powershell 6.0.0-1.debian.9...
Open Graph Description: Hi there, Opening /usr/bin/pwsh, typing in "hello world." and pressing enter yields 43 (+4 on exit) events to /var/log/syslog. This isn't the case with all of my servers but it is for all of my ser...
X Description: Hi there, Opening /usr/bin/pwsh, typing in "hello world." and pressing enter yields 43 (+4 on exit) events to /var/log/syslog. This isn't the case with all of my servers but it is for...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6032
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Powershell 6.0.0-1.debian.9 logging to /var/log/syslog is too verbose...","articleBody":"Hi there, \r\n\r\nOpening `/usr/bin/pwsh`, typing in `\"hello world.\"` and pressing enter yields 43 (+4 on exit) events to /var/log/syslog. This isn't the case with all of my servers but it is for all of my servers running `Powershell 6.0.0-1.debian.9`. \r\n\r\nHere is the first log generated, as an example: \r\n```\r\nJan 25 15:53:30 server-name powershell[18813]: (v6.0.0:7:11) [Command_Lifecycle:CommandStart.Method.Informational] Command Import-Module is Started.#012%n%nContext:%n Severity = Informational#012 Host Name = ConsoleHost#012 Host Version = 6.0.0#012 Host ID = 183c0648-d3c2-4c60-9ba5-18204b3c9f81#012 Host Application = /opt/microsoft/powershell/6.0.0/pwsh.dll#012 Engine Version = 6.0.0#012 Runspace ID = b261234c-963d-4ab3-b814-03161505d08f#012 Pipeline ID = 1#012 Command Name = Import-Module#012 Command Type = Cmdlet#012 Script Name = #012 Command Path = #012 Sequence Number = 7#012 User = server-name\\root#012 Connected User = #012 Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n\r\n```\r\n\r\n17 lines later it's telling me that the console is ready for use:\r\n```\r\nJan 25 15:53:31 server-name powershell[18813]: (v6.0.0:1:10) [Perftrack_ConsoleStartupStop:PowershellConsoleStartup.WinStop.Informational] PowerShell console is ready for user input\r\n```\r\nAnd then finally, 47 lines later it's done with:\r\n```\r\nJan 25 16:10:08 server-name powershell[18813]: (v6.0.0:7:11) [Command_Lifecycle:CommandStop.Method.Informational] Command PSConsoleHostReadline is Stopped.#012%n%nContext:%n Severity = Informational#012 Host Name = ConsoleHost#012 Host Version = 6.0.0#012 Host ID = 183c0648-d3c2-4c60-9ba5-18204b3c9f81#012 Host Application = /opt/microsoft/powershell/6.0.0/pwsh.dll#012 Engine Version = 6.0.0#012 Runspace ID = b261234c-963d-4ab3-b814-03161505d08f#012 Pipeline ID = 9#012 Command Name = PSConsoleHostReadline#012 Command Type = Function#012 Script Name = #012 Command Path = #012 Sequence Number = 42#012 User = server-name\\root#012 Connected User = #012 Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n\r\n```\r\n\r\nAs you can imagine, running even a simple script would cause flooding of syslog and then worse for log servers downstream. \r\n\r\nIs this \"normal\" now, is there a way to disable this behavior or at least redirect logging to another source, for instance to one that isn't sent off for parsing by log servers?\r\n\r\nThanks!","author":{"url":"https://github.com/k1rb","@type":"Person","name":"k1rb"},"datePublished":"2018-01-26T00:16:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/6032/PowerShell/issues/6032"}
| 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:d5c2668a-35f2-8848-b260-8b96c14ce1cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7E2:3102C2:2D30CF1:3FC2D9C:6A54C6D5 |
| html-safe-nonce | f40b087bd6af9829d4c6c05154035426e0fa45093621ffd34da2340b4e129cb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0UyOjMxMDJDMjoyRDMwQ0YxOjNGQzJEOUM6NkE1NEM2RDUiLCJ2aXNpdG9yX2lkIjoiMzQyMTQwMzYxMzAwMzgyNjkwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85deed1b76dd82d9c29e0defc77aedc978b088c65a45f3c2569d7dad857f1505 |
| hovercard-subject-tag | issue:291761049 |
| 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/PowerShell/PowerShell/6032/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d379df8406c5d0b9ab2440e993640fbdddef232eef6e83809f98fa7a930424b6/PowerShell/PowerShell/issues/6032 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d379df8406c5d0b9ab2440e993640fbdddef232eef6e83809f98fa7a930424b6/PowerShell/PowerShell/issues/6032 |
| og:image:alt | Hi there, Opening /usr/bin/pwsh, typing in "hello world." and pressing enter yields 43 (+4 on exit) events to /var/log/syslog. This isn't the case with all of my servers but it is for all of my ser... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | k1rb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6e5f2e6ff3f430aa60a674066f957bca9f2106017e1b68126417422b58ce6e1e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | be4d48619391052c9d312c7b587bb2ac38a97f57 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width