|
From: <as...@sz...> - 2012-05-30 11:26:24
|
Dear Steve,
I had a little spare time after the lunch and I tested your prerelease
version whic was worked fine my little test console application.
Best Regards,
Attila.
The app.config was:
-------------------
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="common">
<section name="logging"
type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
</sectionGroup>
<section name="log4net"
type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
<section name="deploy"
type="NuGet.Deploy.DeployConfigurationSection, NuGet.Deploy.Program" />
</configSections>
<common>
<logging>
<factoryAdapter
type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter,
Common.Logging.Log4Net1211">
<arg key="configType" value="INLINE" />
</factoryAdapter>
</logging>
</common>
<log4net debug="false">
<appender name="ApplicationLog"
type="log4net.Appender.RollingFileAppender">
<file type="log4net.Util.PatternString"
value="%property{PrgPath}/Log/deploy_log.log" />
<appendToFile value="true" />
<maximumFileSize value="500KB" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{yyyy.MM.dd. HH:mm:ss.fff} [%t]
%-5p %c - %m%n" />
</layout>
<!-- levels: DEBUG, INFO, WARN, ERROR, FATAL -->
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG" />
<levelMax value="FATAL" />
</filter>
</appender>
<appender name="ErrorLog" type="log4net.Appender.RollingFileAppender">
<file type="log4net.Util.PatternString"
value="%property{PrgPath}/Log/deploy_error.log" />
<appendToFile value="true" />
<maximumFileSize value="500KB" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{yyyy.MM.dd. HH:mm:ss.fff} [%t]
%c - %m%n" />
</layout>
<!-- levels: DEBUG, INFO, WARN, ERROR, FATAL -->
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="ERROR" />
<levelMax value="FATAL" />
</filter>
</appender>
<!-- levels: DEBUG, INFO, WARN, ERROR, FATAL -->
<root>
<level value="ALL"/>
<appender-ref ref="ApplicationLog" />
<appender-ref ref="ErrorLog"/>
</root>
<!-- logger name="NuGet.Deploy.PhysicalFileSystem" additivity="false">
<level value="INFO"/>
<appender-ref ref="ErrorLog"/>
</logger -->
</log4net>
<deploy>
<mvc applicationSuffix=".MvcApplication" applicationExtension=".dll" />
<wcf applicationSuffix=".Server.Program" applicationExtension=".exe" />
</deploy>
<!-- runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net"
publicKeyToken="1b44e1d426115821" culture="neutral" />
<bindingRedirect oldVersion="1.2.10.0" newVersion="1.2.11.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime -->
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>
The result part of logfile:
---------------------------
2012.05.30. 13:19:22.323 [10] DEBUG NuGet.Deploy.Program -
Wcf.ApplicationExtension=.exe
2012.05.30. 13:19:22.365 [10] DEBUG NuGet.Deploy.Program - Start
checking values of the program parameters
2012.05.30. 13:19:22.365 [10] DEBUG NuGet.Deploy.Program - appType=Server
2012.05.30. 13:19:22.366 [10] DEBUG NuGet.Deploy.Program - appName=NuGet
2012.05.30. 13:19:22.366 [10] DEBUG NuGet.Deploy.Program - test=False
2012.05.30. 13:19:22.366 [10] DEBUG NuGet.Deploy.Program - test2alive=True
2012.05.30. 13:19:22.366 [10] DEBUG NuGet.Deploy.Program -
slnDirectory=C:\RandaTFS\Utility\NuGetMvcApplication
2012.05.30. 13:19:22.366 [10] DEBUG NuGet.Deploy.Program -
rootDirectory=C:\RandaTFS\Utility\NuGetMvcApplication\NuGet.Server.Program
2012.05.30. 13:19:22.367 [10] DEBUG NuGet.Deploy.Program -
appDirectory=C:\RandaTFS\Utility\NuGetMvcApplication\NuGet.Server.Program\Bin\Debug
2012.05.30. 13:19:22.367 [10] DEBUG NuGet.Deploy.Program -
appPath=C:\RandaTFS\Utility\NuGetMvcApplication\NuGet.Server.Program\Bin\Debug\NuGet.Server.Program.exe
2012.05.30. 13:19:22.368 [10] DEBUG NuGet.Deploy.Program -
nuSpecPath=C:\RandaTFS\Utility\NuGetMvcApplication\NuGet.Server.Program\Bin\Debug\RB.Program.NuGet.Server.nuspec
2012.05.30. 13:19:22.368 [10] DEBUG NuGet.Deploy.Program -
versionAssemblyPath=C:\RandaTFS\Utility\NuGetMvcApplication\NuGet.Server.Program\Bin\Debug\NuGet.Common.dll
2012.05.30. 13:19:22.368 [10] DEBUG NuGet.Deploy.Program - Stop
checking values of the program parameters
2012.05.30. 13:19:22.369 [10] INFO NuGet.Deploy.Program - Phase 0 started
2012.05.30. 13:19:22.371 [10] DEBUG NuGet.Deploy.NuGetTools -
NuPack(RB.Program.Lib.Server) started
2012.05.30. 13:19:22.376 [10] INFO NuGet.Deploy.NuGetTools -
RB.Program.Lib.Server.4.0.30319.1.nupkg already exists
2012.05.30. 13:19:22.376 [10] DEBUG NuGet.Deploy.NuGetTools -
NuPack(RB.Program.Lib.Server) stoped
2012.05.30. 13:19:22.380 [10] DEBUG NuGet.Deploy.NuGetTools -
NuInstall(RB.Program.NuGetTeszt.Server 1.0.4231.19312) started
2012.05.30. 13:19:22.382 [10] DEBUG NuGet.Deploy.NuGetTools -
NuList(RB.Program.NuGetTeszt.Server) started
2012.05.30. 13:19:22.382 [10] INFO NuGet.Deploy.NuGetTools - NuGet
'list' started with RB.Program.NuGetTeszt.Server
2012.05.30. 13:19:23.144 [10] DEBUG NuGet.Deploy.NuGetTools - stdOut:
No packages found.
2012.05.30. 13:19:23.144 [10] INFO NuGet.Deploy.NuGetTools - NuGet
'list' succeded
2012.05.30. 13:19:23.144 [10] DEBUG NuGet.Deploy.NuGetTools -
NuList(RB.Program.NuGetTeszt.Server) stoped
2012.05.30. 13:19:23.144 [10] INFO NuGet.Deploy.NuGetTools -
Package(RB.Program.NuGetTeszt.Server 1.0.4231.19312) not found in the
gallery
2012.05.30. 13:19:23.144 [10] DEBUG NuGet.Deploy.NuGetTools -
NuInstall(RB.Program.NuGetTeszt.Server 1.0.4231.19312) stoped
2012.05.30. 13:19:23.144 [10] INFO NuGet.Deploy.Program - Phase 0 stoped
|