| Anonymous | Login | Signup for a new account | 2013-05-25 19:52 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0021977 | Lazarus | LCL | public | 2012-05-07 14:31 | 2012-05-15 21:02 | ||||
| Reporter | Ihor Lavrynyuk | ||||||||
| Assigned To | Juha Manninen | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | x64 | OS | Windows 7 | OS Version | Ultimate SP1 V5 | ||||
| Product Version | 1.1 (SVN) | Product Build | 37211 | ||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0021977: EventLog not normaly append and | ||||||||
| Description | EventLog not normaly append and RaiseExceptionOnError not add Aditional info about RaiseException in log.txt | ||||||||
| Additional Information | [2012-05-07 15:23:47.938 Info] Start [2012-05-07 15:23:56.026 Info] My info event [2012-05-07 15:23:57.466 Info] Close event [2012-05-07 15:22:34.930 Info] Close event [2012-05-07 15:19:06.722 Info] My info event [2012-05-07 15:19:08.818 Info] My info event [2012-05-07 15:19:08.994 Info] My info event [2012-05-07 15:19:09.626 Info] Close | ||||||||
| Tags | No tags attached. | ||||||||
| Fixed in Revision | |||||||||
| LazTarget | - | ||||||||
| Widgetset | Win32/Win64 | ||||||||
| Attached Files | |||||||||
Relationships |
|||||||
|
|||||||
Notes |
|
|
(0059599) Juha Manninen (developer) 2012-05-15 08:02 |
EventLog is part of FPC, not part of LCL. Anyway, EventLog seems to work well but your demo application has some strange code: procedure TfrmMain.btnExceptionClick(Sender: TObject); begin frmMain.ShowModal; end; You cannot show frmMain as a modal form while it is already open. Otherwise you demo works. After clicking btnMyLogInfo twice the file log.txt has: [2012-05-15 09:01:04.259 Info] Start [2012-05-15 09:01:05.746 Info] My info event [2012-05-15 09:01:06.142 Info] My info event [2012-05-15 09:01:07.155 Info] Close |
|
(0059607) Ihor Lavrynyuk (reporter) 2012-05-15 10:14 |
it's frmMain.ShowModal; for Exception - exception must write to log automatically if RaiseExceptionOnError=True? if run this application many times we have overwritten log.txt I run many times my app, and in log I have only sample this: ss [2012-05-15 11:13:36.241 Info] Started ss [2012-05-15 11:13:41.680 Info] Exit rror: near "Олександр": syntax error ss [2012-05-15 10:38:00.252 Info] Exit |
|
(0059608) Ihor Lavrynyuk (reporter) 2012-05-15 10:17 |
record video=)? |
|
(0059623) Juha Manninen (developer) 2012-05-15 18:52 |
How should it behave when an exception comes? If you still think there is a bug, please create a new report for FPC project. It is a different project and different people have write access to their repository. |
|
(0059625) Ihor Lavrynyuk (reporter) 2012-05-15 19:01 |
ss [2012-05-15 19:19:56.474 Info] Started ss [2012-05-15 19:55:31.607 Info] Exit already exists "C:\Users\root\Desktop\a.xls" ss [2012-05-15 18:52:12.455 Info] Exit this "already exists "C:\Users\root\Desktop\a.xls"" should be ss [2012-05-15 18:52:12.455 Error] File already exists "C:\Users\root\Desktop\a.xls" |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-05-07 14:31 | Ihor Lavrynyuk | New Issue | |
| 2012-05-07 14:31 | Ihor Lavrynyuk | File Added: issueS.zip | |
| 2012-05-07 14:31 | Ihor Lavrynyuk | Widgetset | => Win32/Win64 |
| 2012-05-15 07:50 | Juha Manninen | Status | new => assigned |
| 2012-05-15 07:50 | Juha Manninen | Assigned To | => Juha Manninen |
| 2012-05-15 08:02 | Juha Manninen | LazTarget | => - |
| 2012-05-15 08:02 | Juha Manninen | Status | assigned => resolved |
| 2012-05-15 08:02 | Juha Manninen | Resolution | open => no change required |
| 2012-05-15 08:02 | Juha Manninen | Note Added: 0059599 | |
| 2012-05-15 10:14 | Ihor Lavrynyuk | Note Added: 0059607 | |
| 2012-05-15 10:17 | Ihor Lavrynyuk | Note Added: 0059608 | |
| 2012-05-15 18:52 | Juha Manninen | Note Added: 0059623 | |
| 2012-05-15 19:01 | Ihor Lavrynyuk | Status | resolved => closed |
| 2012-05-15 19:01 | Ihor Lavrynyuk | Note Added: 0059625 | |
| 2012-05-15 20:59 | Juha Manninen | Status | closed => assigned |
| 2012-05-15 20:59 | Juha Manninen | Resolution | no change required => reopened |
| 2012-05-15 21:00 | Juha Manninen | Relationship added | related to 0022045 |
| 2012-05-15 21:01 | Juha Manninen | Status | assigned => resolved |
| 2012-05-15 21:01 | Juha Manninen | Resolution | reopened => fixed |
| 2012-05-15 21:02 | Juha Manninen | Status | resolved => closed |
| Main | My View | View Issues | Change Log | Roadmap |



