Skip to content

Commit

Permalink
write helpful comment into torrc if logging is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
prof7bit committed Jul 16, 2012
1 parent 550db5f commit d8623d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/tc_tor.pas
Expand Up @@ -130,6 +130,9 @@ procedure TTor.GenerateTorrc;
if GetLogDir <> '' then begin if GetLogDir <> '' then begin
LogFileName := 'tor_' + FClient.ProfileName + '.log'; LogFileName := 'tor_' + FClient.ProfileName + '.log';
LogFileName := ConcatPaths([GetLogDir, LogFileName]); LogFileName := ConcatPaths([GetLogDir, LogFileName]);
Line('##');
Line('## LOGGING IS ENABLED, SEE TORCHAT USER MANUAL!');
Line('SafeLogging 0');
Line(Format('Log notice file %s', [LogFileName])); Line(Format('Log notice file %s', [LogFileName]));
end; end;


Expand Down

0 comments on commit d8623d7

Please sign in to comment.