Changed name and location of log file.

This commit is contained in:
Riley McArdle
2010-01-06 16:16:50 -06:00
parent 03c2d458f3
commit 0c0ae291c1
7 changed files with 9 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ Namespace App
Public Shared ReadOnly URLDonate As String = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=felix%2edeimel%40gmail%2ecom&item_name=mRemote%20Donations&buyer_credit_promo_code=&buyer_credit_product_category=&buyer_credit_shipping_method=&buyer_credit_user_address_change=&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8"
Public Shared ReadOnly URLBugs As String = "http://bugs.mremote.org/"
Public Shared ReadOnly URLAnnouncement As String = "http://update.mRemote.org/mRemote_Announcment.txt"
Public Shared ReadOnly LogFile As String = My.Application.Info.DirectoryPath & "\mRemote.log"
Public Shared ReadOnly LogFile As String = GetFolderPath(SpecialFolder.LocalApplicationData) & "\mRemoteNG.log"
Public Shared ReadOnly HomePath As String = My.Application.Info.DirectoryPath
Public Shared EncryptionKey As String = "mR3m"
Public Shared ReportingFilePath As String = ""

View File

@@ -250,7 +250,7 @@ Namespace App
Public Shared Sub CreateLogger()
log4net.Config.XmlConfigurator.Configure(New FileInfo("mRemote.exe.config"))
log = log4net.LogManager.GetLogger("mRemote.Log")
log = log4net.LogManager.GetLogger("mRemoteNG.Log")
End Sub
Public Shared Sub UpdateCheck()

View File

@@ -3,6 +3,8 @@
Fixed menu bar not staying docked to left side
Removed snakes game Easter egg
Removed references to visionapp Remote Desktop
Changed name and location of log file
%USERPROFILE%\Local Settings\Application Data\mRemoteNG\mRemoteNG.log
1.50:
Added the following formats to the "Save Connections As" function:

View File

@@ -230,7 +230,7 @@
Public Const LaunchPutty As String = "Starte PuTTY"
Public Const UseCustomPuttyPath As String = "Eigener PuTTY Pfad:"
Public Const AutomaticallyGetSessionInfo As String = "Automatisch Session Informationen einholen"
Public Const WriteLogFile As String = "Log File schreiben (Installationspfad\mRemote.log)"
Public Const WriteLogFile As String = "Log File schreiben (mRemoteNG.log)"
Public Const StartupExit As String = "Start/Ende"
Public Const AllowOnlySingleInstance As String = "Nur eine Instanz zulassen (mRemote Neustart benötigt)"
Public Const ReconnectAtStartup As String = "Offene Verbindungen speichern und beim nächsten Start wiederverbinden"

View File

@@ -231,7 +231,7 @@
Public Const LaunchPutty As String = "Launch PuTTY"
Public Const UseCustomPuttyPath As String = "Use custom PuTTY path:"
Public Const AutomaticallyGetSessionInfo As String = "Automatically get session information"
Public Const WriteLogFile As String = "Write log file (application directory\mRemote.log)"
Public Const WriteLogFile As String = "Write log file (mRemoteNG.log)"
Public Const StartupExit As String = "Startup/Exit"
Public Const AllowOnlySingleInstance As String = "Allow only a single instance of the application (mRemoteNG restart required)"
Public Const ReconnectAtStartup As String = "Reconnect to previously opened sessions on startup"

View File

@@ -931,7 +931,7 @@ Namespace UI
Me.chkWriteLogFile.Name = "chkWriteLogFile"
Me.chkWriteLogFile.Size = New System.Drawing.Size(287, 19)
Me.chkWriteLogFile.TabIndex = 10
Me.chkWriteLogFile.Text = "Write log file (application directory\mRemote.log)"
Me.chkWriteLogFile.Text = "Write log file (mRemoteNG.log)"
Me.chkWriteLogFile.UseVisualStyleBackColor = True
'
'pnlProxy

View File

@@ -8,7 +8,7 @@
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net-net-1.0" />
</configSections>
<log4net>
<logger name="mRemote.Log">
<logger name="mRemoteNG.Log">
<level value="INFO"/>
</logger>
@@ -18,7 +18,7 @@
</root>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
<file value="mRemote.log" />
<file value="mRemoteNG.log" />
<!-- Example using environment variables in params -->
<!-- <file value="${TMP}\log-file.txt" /> -->
<appendToFile value="true" />