Reto Buerki
4fb9736acc
Project-file cleanup.
...
- Makefile and C languages are not needed.
2008-03-03 13:12:03 +01:00
Reto Buerki
29476d4d2a
No need to create data-dir any more.
...
- It's in the repos.
2008-03-03 12:56:25 +01:00
Reto Buerki
69a65c7b77
Sources are in 'src'-directory now.
2008-03-03 12:54:10 +01:00
Reto Buerki
f043fd6342
Removed windows-style line termination.
2008-03-03 12:51:51 +01:00
Reto Buerki
c7cd87af53
Create (and remove) lib dir properly.
2008-03-03 12:49:46 +01:00
Reto Buerki
6e5ac5ff18
Delete source files in root-dir.
2008-03-03 12:47:24 +01:00
Reto Buerki
9780d73431
Re-structuring.
...
- libalog.so can be built now.
- Sources are in 'src' directory.
- Removed INSTALL, explained in README.
- Synced README, CHANGELOG with www-Version.
2008-03-03 12:45:12 +01:00
Reto Buerki
872a4bfd5d
Added 'control' target to Makefile.
...
- Used to execute AdaControl.
2008-03-03 12:29:37 +01:00
Reto Buerki
26695368a2
Added AdaControl-rules file.
...
- Not everything is supported now, rules must be
extended:
o overriding
o limited
- Naming convention enforced.
2008-03-03 10:33:48 +01:00
Reto Buerki
6249f3b9b0
Fix and small cosmetics.
...
- Test threshold before sending mail in SMTP-facility.
- Send_Simple_Mail does not work yet.
Either use public SMTP-relay for test or implement
own mailserver locally.
2008-03-02 18:43:52 +01:00
Reto Buerki
7a228387a8
Added very basic INSTALL-file with compile-instructions.
...
- Will be completed soon.
2008-02-29 16:23:14 +01:00
Reto Buerki
6eda16e95c
Write project with lower-cases.
2008-02-29 16:20:17 +01:00
Reto Buerki
e2d2b4e49c
Moved AWS-includes to header-file.
2008-02-29 16:00:40 +01:00
Reto Buerki
461467aba7
Correction in sending logic.
...
- Server is taken from F.Server value now.
2008-02-29 15:55:36 +01:00
Reto Buerki
f48e28bb65
Implemented Set_Server() and Set_Recipient().
...
- Added Send_No_Recipient- and Send_No_server-
testcases.
- Simple mail sending works now.
- Only one recipient supported atm.
- Missing getters for Recipient/Server.
2008-02-29 15:53:12 +01:00
Reto Buerki
f6a62bec03
Implemented basic SMTP Write_Message() procedure.
...
- Added Send_No_Recipient-testcase.
2008-02-29 15:28:39 +01:00
Reto Buerki
a24b6d211e
Added stubs for SMTP-facility.
2008-02-29 12:31:05 +01:00
Reto Buerki
7d00b1c722
Small corrections to get documentation right.
2008-02-29 10:42:36 +01:00
Reto Buerki
63b0c5b75c
Using Unbounded_String for Facility-Name now.
...
- Set_Name_too_Long-testcase is obsolete.
2008-02-28 18:24:27 +01:00
Reto Buerki
d73612229a
Added S_Facility and corresponding map-table.
...
- Will be used to implement LOG_MAKEPRI.
2008-02-28 17:53:17 +01:00
Reto Buerki
521fbedda1
First basic working version of syslog Write_Message()
...
implemented.
- Thin binding to C-Style syslog().
2008-02-28 15:19:37 +01:00
Reto Buerki
333a5215d8
Added syslog-facilities stub.
...
- Added failing Init_Syslog-testcase.
2008-02-28 14:26:25 +01:00
Reto Buerki
4c668c7742
Implemented Clear_A_Logger-testcase.
2008-02-28 14:09:47 +01:00
Reto Buerki
2c4546deac
Added Log_Multiple_FD_Facilities-testcase.
2008-02-28 14:04:05 +01:00
Reto Buerki
87b7e2b5b9
Implemented Log_Message() and Clear() for loggers.
...
- Added test Log_One_FD_Facility().
2008-02-25 14:40:20 +01:00
Reto Buerki
da8469d030
Added Set_Threshold_Fd-test.
2008-02-22 16:07:08 +01:00
Reto Buerki
0d3767f3b9
Implemented Append_File mode.
...
- Cleanup is done for all files created in testcases.
- Extended Disable_Write_Timestamp_Fd() test.
2008-02-22 15:02:19 +01:00
Reto Buerki
3bfb605cda
Implemented Assert_File_Equals().
...
- Can be used to compare a reference with a produced
logfile.
- Write_Message_Fd test passes.
2008-02-21 20:07:10 +01:00
Reto Buerki
95317455e0
Added setter/getters for handling loglevel and timestamp.
...
- This will be useful when testing created logfiles
against expected results.
2008-02-21 17:12:14 +01:00
Reto Buerki
595fbbc0b7
Refactoring of Free()-procedure.
...
- Each facility must add a Free()-procedure to alog-logger.ads.
- Removed Max_Facilites_Reached exception (not needed (yet)).
2008-02-20 15:40:45 +01:00
Reto Buerki
012e7ec815
Small format changes.
2008-02-20 14:09:31 +01:00
Reto Buerki
0d190d0f70
Implemented Free() for File_Descriptor.
...
- Fixes leak.
- Solution should be more generic (TODO).
2008-02-17 22:53:29 +01:00
Reto Buerki
af1c108dff
Added Finalize() procedure.
...
- Called when Logger gets out of scope.
2008-02-17 22:40:54 +01:00
Reto Buerki
66e66715c0
Fixed typo in license text.
2008-02-16 16:28:57 +01:00
Reto Buerki
41cf5cd70b
Implemented logger Attach_Facility().
...
- First logger-test passes.
- Implemented Facility_Count().
2008-02-16 16:26:33 +01:00
Reto Buerki
92a4fb7b8a
Added logger stubs.
...
- Renamed Facility_Fd to just 'Instance'. It's basically
an instance of Alog.Facilities.File_Descriptor.
2008-02-15 23:46:25 +01:00
Reto Buerki
2643ddc4b2
Open file in Append_File mode.
2008-02-15 23:19:56 +01:00
Reto Buerki
efd650e671
Removed 'use' keyword where appropriate.
...
o Makes code more readable.
2008-02-15 23:14:51 +01:00
Reto Buerki
c2040ad9ad
Added 'tests' target to Makefile.
...
Signed-off-by: Reto Buerki <reto@buerki.info>
2008-02-15 22:59:02 +01:00
Adrian-Ken Rueegsegger
ec2a1cf1d1
Handle errors during test cleanup.
2008-02-07 18:01:48 +01:00
Adrian-Ken Rueegsegger
d348f7f985
Initial import
...
Signed-off-by: Adrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
2008-02-05 10:30:46 +01:00