Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Bonobo.Git.Server/Bonobo.Git.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -646,12 +646,6 @@
<None Include="Properties\PublishProfiles\Test.pubxml" />
<Content Include="Views\Repository\Tags.cshtml" />
<Content Include="Views\Repository\_Tag.cshtml" />
<None Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</None>
<None Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</None>
<None Include="Web.Test.config">
<DependentUpon>Web.config</DependentUpon>
<SubType>Designer</SubType>
Expand Down
5 changes: 4 additions & 1 deletion Bonobo.Git.Server/Global.asax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ public static string GetLogFileNameFormat()
{
logDirectory = @"~\App_Data\Logs";
}
return Path.Combine(HostingEnvironment.MapPath(logDirectory), "log-{Date}.txt");

var logPath = GetRootPath(logDirectory); // Allow for Different Log location.

return Path.Combine(logPath, "log-{Date}.txt");
}

private static void RegisterDependencyResolver()
Expand Down