GeezerVison is showing github.com — Merge #120 · apache/logging-log4net@b814f6b
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +26Lines changed: 26 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +name: Broadcast master updates to satellites | | 2 | + | | 3 | +on: | | 4 | + push: | | 5 | + branches: [ master ] | | 6 | + pull_request: | | 7 | + branches: [ master ] | | 8 | + | | 9 | +concurrency: | | 10 | + group: git-broadcast | | 11 | + | | 12 | +jobs: | | 13 | + main: | | 14 | + runs-on: ubuntu-latest | | 15 | + steps: | | 16 | + - uses: actions/checkout@v2 | | 17 | + - uses: actions/setup-node@v2-beta | | 18 | + with: | | 19 | + node-version: '16' | | 20 | + - name: broadcast master changes to satellite branches | | 21 | + env: | | 22 | + RUN_NUMBER: ${{ github.run_number }} | | 23 | + run: | | | 24 | + git config --global user.name "Git Broadcast" | | 25 | + | | 26 | + npx git-broadcast@latest --from master --push --pretty --suppress-log-prefixes --prefix-logs-with $GITHUB_REPOSITORY |
Collapse file Copy file name to clipboardExpand all lines: package.json +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 28 | 28 | "author": "", | 29 | 29 | "license": "Apache-2.0", | 30 | 30 | "bugs": { | 31 | | - "url": "https://github.com/fluffynuts/logging-log4net/issues" | | 31 | + "url": "https://github.com/apache/logging-log4net/issues" | 32 | 32 | }, | 33 | | - "homepage": "https://github.com/fluffynuts/logging-log4net#readme", | | 33 | + "homepage": "https://github.com/apache/logging-log4net#readme", | 34 | 34 | "devDependencies": { | 35 | 35 | "cross-env": "^7.0.2", | 36 | 36 | "gulp-debug": "^4.0.0", | |
Collapse file Copy file name to clipboardExpand all lines: src/log4net.Tests/Appender/RollingFileAppenderTest.cs +10Lines changed: 10 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1997,6 +1997,16 @@ public void TestInitializeRollBackups4() | 1997 | 1997 | VerifyInitializeRollBackups(8, iMaxRollBackups); | 1998 | 1998 | } | 1999 | 1999 |
| | 2000 | + /// <summary> | | 2001 | + /// Ensures that no problems result from creating and then closing the appender | | 2002 | + /// when it has not also been initialized with ActivateOptions(). | | 2003 | + /// </summary> | | 2004 | + [Test] | | 2005 | + public void TestCreateCloseNoActivateOptions() | | 2006 | + { | | 2007 | + var appender = new RollingFileAppender(); | | 2008 | + appender.Close(); | | 2009 | + } | 2000 | 2010 | // | 2001 | 2011 | // Helper functions to dig into the appender | 2002 | 2012 | // | |
Collapse file Copy file name to clipboardExpand all lines: src/log4net.Tests/log4net.Tests.csproj +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 61 | 61 | <PrivateAssets>all</PrivateAssets> | 62 | 62 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | 63 | 63 | </PackageReference> | | 64 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" /> | 64 | 65 | <PackageReference Include="NUnit" Version="3.14.0" /> | 65 | 66 | <PackageReference Include="NExpect" Version="2.0.78" /> | 66 | 67 | <PackageReference Include="Quackers.TestLogger" Version="1.0.24" /> | |
Collapse file Copy file name to clipboardExpand all lines: src/log4net.sln +8Lines changed: 8 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -48,6 +48,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".config", ".config", "{78CD | 48 | 48 | ..\pom.xml = ..\pom.xml | 49 | 49 | EndProjectSection | 50 | 50 | EndProject | | 51 | +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{3EE6A25B-2DF9-4825-A784-EE32EEA0BE58}" | | 52 | +EndProject | | 53 | +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{92B16708-35B8-4E60-AF44-CF6D797FB63B}" | | 54 | + ProjectSection(SolutionItems) = preProject | | 55 | + ..\.github\workflows\git-broadcast.yml = ..\.github\workflows\git-broadcast.yml | | 56 | + EndProjectSection | | 57 | +EndProject | 51 | 58 | Global | 52 | 59 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 53 | 60 | Debug|Any CPU = Debug|Any CPU | | 92 | 99 | {D818035F-0345-49EF-9AB9-021583986CE2} = {8953473C-EEE8-4740-993D-B8E10FA876CD} | 93 | 100 | {169118A6-CAC3-4E83-ABEE-9E884B75B294} = {8953473C-EEE8-4740-993D-B8E10FA876CD} | 94 | 101 | {A4F9E417-2250-4075-9118-B4FF1C58B6C5} = {8953473C-EEE8-4740-993D-B8E10FA876CD} | | 102 | + {92B16708-35B8-4E60-AF44-CF6D797FB63B} = {3EE6A25B-2DF9-4825-A784-EE32EEA0BE58} | 95 | 103 | EndGlobalSection | 96 | 104 | GlobalSection(ExtensibilityGlobals) = postSolution | 97 | 105 | SolutionGuid = {532DE291-8626-4FE3-B255-78515D744BCF} | |
Collapse file Copy file name to clipboardExpand all lines: src/log4net/Appender/FileAppender.cs +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -111,7 +111,7 @@ private LockStateException(SerializationInfo info, StreamingContext context) : b | 111 | 111 | } | 112 | 112 |
| 113 | 113 | private Stream m_realStream = null; | 114 | | - private LockingModelBase m_lockingModel = null; | | 114 | + private readonly LockingModelBase m_lockingModel; | 115 | 115 | private int m_lockLevel = 0; | 116 | 116 |
| 117 | 117 | public LockingStream(LockingModelBase locking) | |
|