Log4php is a PHP port of Log4j, the most popular Java logging framework. It supports configuration through XML and properties files (with the same structure as log4j) and custom Configurators. File, RollingFile, DailyFile, Echo, Console, Mail, PEAR::Db, PHP error, Syslog or NT events, and socket appenders are supported. Simple, TTCC, Pattern, Html, and Xml Layouts are supported. It also supports Filters, custom Levels, and Loggers. Internal debugging can be switched on and off. Log4php can be used inside a class or inside a main/sub function.
lib4d_sql is a C library that provides the required functions (connect, prepare, execute, etc.) for writing an SQL client for 4D databases. It uses the public 4D SQL protocol, which is supported by 4D products since version 11. It is already used by the PDO_4D Open Source project, and it might be used to provide others drivers for JDBC, ADO, or ActiveRecord.