ms
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
<setting name="FB_PW" serializeAs="String">
|
||||
<value>dd</value>
|
||||
</setting>
|
||||
<setting name="LOGERRORS_ONLY" serializeAs="String">
|
||||
<value>True</value>
|
||||
<setting name="DEBUG" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
</SERV_EMAIL.My.MySettings>
|
||||
</applicationSettings>
|
||||
|
||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("2.1.0.0")>
|
||||
<Assembly: AssemblyVersion("2.2.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||
|
||||
8
App/SERV_EMAIL/My Project/Settings.Designer.vb
generated
8
App/SERV_EMAIL/My Project/Settings.Designer.vb
generated
@@ -15,7 +15,7 @@ Option Explicit On
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.7.0.0"), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
@@ -103,10 +103,10 @@ Namespace My
|
||||
|
||||
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("True")> _
|
||||
Public ReadOnly Property LOGERRORS_ONLY() As Boolean
|
||||
Global.System.Configuration.DefaultSettingValueAttribute("False")> _
|
||||
Public ReadOnly Property DEBUG() As Boolean
|
||||
Get
|
||||
Return CType(Me("LOGERRORS_ONLY"),Boolean)
|
||||
Return CType(Me("DEBUG"),Boolean)
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
<Setting Name="FB_PW" Type="System.String" Scope="Application">
|
||||
<Value Profile="(Default)">dd</Value>
|
||||
</Setting>
|
||||
<Setting Name="LOGERRORS_ONLY" Type="System.Boolean" Scope="Application">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
<Setting Name="DEBUG" Type="System.Boolean" Scope="Application">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -22,14 +22,14 @@ Public Class MyService
|
||||
' Code zum Starten des Dienstes hier einfügen. Diese Methode sollte Vorgänge
|
||||
' ausführen, damit der Dienst gestartet werden kann.
|
||||
Try
|
||||
MyLogger = New LogConfig(LogConfig.PathType.CustomPath, Path.Combine(My.Application.Info.DirectoryPath, "Log"))
|
||||
MyLogger = New LogConfig(LogConfig.PathType.CustomPath, Path.Combine(My.Application.Info.DirectoryPath, "Log"), Nothing, "Digital Data", "DD EmailProfiler")
|
||||
Logger = MyLogger.GetLogger
|
||||
Logger.Info("## Service started ## ")
|
||||
|
||||
If My.Settings.MyConnectionString = String.Empty Then
|
||||
Logger.Warn("NO CONNECTIONSTRING CONFIGURED.")
|
||||
Else
|
||||
If LOG_ERRORS_ONLY = False Then
|
||||
If My.Settings.DEBUG = True Then
|
||||
Logger.Info("DEBUG ACTIVATED")
|
||||
MyLogger.Debug = True
|
||||
Else
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -206,26 +206,11 @@ DigitalData.Modules.Database
|
||||
<param name="SqlCommand">sqlcommand for datatable (select XYZ from TableORView)</param>
|
||||
<returns>Returns a datatable</returns>
|
||||
</member>
|
||||
<member name="M:DigitalData.Modules.Database.MSSQLServer.NewExecutenonQuery(System.String)">
|
||||
<summary>
|
||||
Executes the passed sql-statement
|
||||
</summary>
|
||||
<param name="executeStatement">the sql statement</param>
|
||||
<returns>Returns true if properly executed, else false</returns>
|
||||
<remarks></remarks>
|
||||
</member>
|
||||
<member name="M:DigitalData.Modules.Database.MSSQLServer.NewExecuteScalar(System.String)">
|
||||
<summary>
|
||||
Executes the passed sql-statement as Scalar
|
||||
</summary>
|
||||
<param name="ScalarSQL">the sql statement</param>
|
||||
<returns>Returns true if properly executed, else false</returns>
|
||||
</member>
|
||||
<member name="M:DigitalData.Modules.Database.MSSQLServer.NewExecuteNonQueryAsync(System.String,System.Int32)">
|
||||
<summary>
|
||||
Executes the passed sql-statement in asyncmode
|
||||
</summary>
|
||||
<param name="executeStatement">the sql statement</param>
|
||||
<param name="SqlCommand">the sql statement</param>
|
||||
<param name="commandtimeout">Optional Timeout</param>
|
||||
<remarks></remarks>
|
||||
</member>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -34,33 +34,6 @@ DigitalData.Modules.Logging
|
||||
<dependencies>
|
||||
NLog, >= 4.5.8
|
||||
</dependencies>
|
||||
<params>
|
||||
logPath, PathType
|
||||
The basepath to write logs to. Can be AppData, CurrentDirectory or CustomPath.
|
||||
|
||||
- AppData: writes to local application data directory
|
||||
- CurrentDirectory: writes to `Log` directory relative to the current directory
|
||||
- CustomPath: writes to custom path specified in `customLogPath`
|
||||
|
||||
customLogPath, String (optional)
|
||||
If `logPath` is set to custom, this defines the custom logPath.
|
||||
|
||||
suffix, String (optional)
|
||||
If set to anything other than Nothing, extends the logfile name with this suffix.
|
||||
</params>
|
||||
<props>
|
||||
LogFile, String (readonly)
|
||||
Returns the full path of the default log file.
|
||||
|
||||
LogPath, String (readonly)
|
||||
Returns the path to the log directory.
|
||||
|
||||
LogFactory, NLog.LogFactory (readonly)
|
||||
Returns the LogFactory that is used to create the Logger object
|
||||
|
||||
Debug, Boolean
|
||||
Determines if the debug log should be written.
|
||||
</props>
|
||||
<example>
|
||||
Imports DigitalData.Modules.Logging
|
||||
|
||||
@@ -132,13 +105,15 @@ DigitalData.Modules.Logging
|
||||
</summary>
|
||||
<returns>A list of log messages</returns>
|
||||
</member>
|
||||
<member name="M:DigitalData.Modules.Logging.LogConfig.#ctor(DigitalData.Modules.Logging.LogConfig.PathType,System.String,System.String)">
|
||||
<member name="M:DigitalData.Modules.Logging.LogConfig.#ctor(DigitalData.Modules.Logging.LogConfig.PathType,System.String,System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Initializes a new LogConfig object with a logpath and optinally a filename-suffix.
|
||||
</summary>
|
||||
<param name="logPath">The basepath to write logs to. Can be AppData, CurrentDirectory or CustomPath.</param>
|
||||
<param name="customLogPath">If `logPath` is set to custom, this defines the custom logPath.</param>
|
||||
<param name="suffix">If set to anything other than Nothing, extends the logfile name with this suffix.</param>
|
||||
<param name="LogPath">The basepath to write logs to. Can be AppData, CurrentDirectory or CustomPath.</param>
|
||||
<param name="CustomLogPath">If `logPath` is set to custom, this defines the custom logPath.</param>
|
||||
<param name="Suffix">If set to anything other than Nothing, extends the logfile name with this suffix.</param>
|
||||
<param name="CompanyName">CompanyName is used to construct log-path in when LogPath is set to PathType:AppData</param>
|
||||
<param name="ProductName">ProductName is used to construct log-path in when LogPath is set to PathType:AppData</param>
|
||||
</member>
|
||||
<member name="M:DigitalData.Modules.Logging.LogConfig.GetLogger">
|
||||
<summary>
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
Assembly E:\SchreiberM\Visual Studio\GIT\SERV_EMAIL\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe wird installiert.
|
||||
Betroffene Parameter:
|
||||
logtoconsole =
|
||||
logfile = E:\SchreiberM\Visual Studio\GIT\SERV_EMAIL\SERV_EMAIL\bin\Debug\SERV_EMAIL.InstallLog
|
||||
assemblypath = E:\SchreiberM\Visual Studio\GIT\SERV_EMAIL\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe
|
||||
Dienst DD EmailProfiler wird installiert...
|
||||
Dienst DD EmailProfiler wurde installiert.
|
||||
Die EventLog-Quelle DD EmailProfiler im Protokoll Application wird erstellt...
|
||||
Assembly E:\SchreiberM\Visual Studio\GIT\SERV_EMAIL\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe wird ausgeführt.
|
||||
Betroffene Parameter:
|
||||
logtoconsole =
|
||||
logfile = E:\SchreiberM\Visual Studio\GIT\SERV_EMAIL\SERV_EMAIL\bin\Debug\SERV_EMAIL.InstallLog
|
||||
assemblypath = E:\SchreiberM\Visual Studio\GIT\SERV_EMAIL\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe
|
||||
Assembly E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe wird installiert.
|
||||
Betroffene Parameter:
|
||||
logtoconsole =
|
||||
logfile = E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\SERV_EMAIL.InstallLog
|
||||
assemblypath = E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe
|
||||
Dienst DD EmailProfiler wird installiert...
|
||||
Dienst DD EmailProfiler wurde installiert.
|
||||
Die EventLog-Quelle DD EmailProfiler im Protokoll Application wird erstellt...
|
||||
Assembly E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe wird ausgeführt.
|
||||
Betroffene Parameter:
|
||||
logtoconsole =
|
||||
logfile = E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\SERV_EMAIL.InstallLog
|
||||
assemblypath = E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\SERV_EMAIL.exe
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -26,8 +26,8 @@
|
||||
<setting name="FB_PW" serializeAs="String">
|
||||
<value>dd</value>
|
||||
</setting>
|
||||
<setting name="LOGERRORS_ONLY" serializeAs="String">
|
||||
<value>True</value>
|
||||
<setting name="DEBUG" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
</SERV_EMAIL.My.MySettings>
|
||||
</applicationSettings>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
194f0e0b9909d26a065a24a0efa14204b59b0794
|
||||
@@ -42,7 +42,6 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_E
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.MyService.resources
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.ProjectInstaller.resources
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.vbproj.GenerateResource.cache
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.vbproj.CoreCompileInputs.cache
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.vbproj.CopyComplete
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.exe
|
||||
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.xml
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user