Permalink
Browse files

write helpful comment into torrc if logging is enabled

  • Loading branch information...
1 parent 550db5f commit d8623d79dc33f272d44dd0fac79ed794448a38d6 @prof7bit committed Jul 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/tc_tor.pas
View
@@ -130,6 +130,9 @@ procedure TTor.GenerateTorrc;
if GetLogDir <> '' then begin
LogFileName := 'tor_' + FClient.ProfileName + '.log';
LogFileName := ConcatPaths([GetLogDir, LogFileName]);
+ Line('##');
+ Line('## LOGGING IS ENABLED, SEE TORCHAT USER MANUAL!');
+ Line('SafeLogging 0');
Line(Format('Log notice file %s', [LogFileName]));
end;

0 comments on commit d8623d7

Please sign in to comment.