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

Fix for Issue #777 #778

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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