title: Using TEventLog in lazarus
body: <p>I understand that EventLog is capable into writing the exception messages into a log on disk.I have managed to setup the component, but when I set the component to active and do a simple test like:</p>
  
  <pre><code>eventlog.Debug('Application has started!');
  </code></pre>
  
  <p>I receive the following exception : </p>
  
  <p>Operation not allowed when eventlog is active. </p>
  
  <p>What am I doing wrong ? I can't find the exception in the log what so ever eaven if I set RaiseExceptionOnError to true.</p>
  
  <p>Please a simple sample usage would be great!</p>