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

Si on renomme les appenders le code ne fonctionne plus, pb de couplage #3

Open
LaurentDardenne opened this issue Dec 20, 2021 · 0 comments
Assignees

Comments

@LaurentDardenne
Copy link
Owner

Si on renomme les appenders le code ne fonctionne plus, pb de couplage .

function Get-Log4NetAppenderFileName {
…
process {
   $Repository=Get-Log4NetRepository $RepositoryName
   if ($null -ne $Repository)
   {
     if ($PsCmdlet.ParameterSetName -eq 'All')
     { $Pattern="FileExternal|FileInternal" } !!!!!!!!!!!!!!!
...
}

Config XML :

  <appender name="FileExternal" type="log4net.Appender.RollingFileAppender">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant