Commit 644dccd5f5e14801c2247f7d672c4015af273c0d
1 parent
d0f80796
add the realtime save of registered logger. Hence when we restart the Anubis log…
…ger, all previously registered loggers are reload and ready to log
Showing
3 changed files
with
638 additions
and
11 deletions
Show diff stats
| 1 | +src/library | ... | ... |
src/anb_log.aproj
| ... | ... | @@ -23,6 +23,63 @@ |
| 23 | 23 | </PropertyGroup> |
| 24 | 24 | <Import Project="$(AnubisBinPath)\Anubis.Build.targets" /> |
| 25 | 25 | <ItemGroup> |
| 26 | + <Folder Include="library" /> | |
| 27 | + <Folder Include="library\a2a" /> | |
| 28 | + <Folder Include="library\a2a\C" /> | |
| 29 | + <Folder Include="library\a2a\generic" /> | |
| 30 | + <Folder Include="library\charset" /> | |
| 31 | + <Folder Include="library\cipher" /> | |
| 32 | + <Folder Include="library\converters" /> | |
| 33 | + <Folder Include="library\data_base" /> | |
| 34 | + <Folder Include="library\doc_tools" /> | |
| 35 | + <Folder Include="library\examples" /> | |
| 36 | + <Folder Include="library\examples\cryptography" /> | |
| 37 | + <Folder Include="library\examples\graphism" /> | |
| 38 | + <Folder Include="library\examples\graphism\image_samples" /> | |
| 39 | + <Folder Include="library\examples\lexical_analysis" /> | |
| 40 | + <Folder Include="library\examples\logic" /> | |
| 41 | + <Folder Include="library\examples\mathematics" /> | |
| 42 | + <Folder Include="library\examples\mathematics\runge_kutta" /> | |
| 43 | + <Folder Include="library\examples\network" /> | |
| 44 | + <Folder Include="library\examples\network\public" /> | |
| 45 | + <Folder Include="library\examples\system" /> | |
| 46 | + <Folder Include="library\graphism" /> | |
| 47 | + <Folder Include="library\graphism\image_samples" /> | |
| 48 | + <Folder Include="library\lexical_analysis" /> | |
| 49 | + <Folder Include="library\locale" /> | |
| 50 | + <Folder Include="library\locale\locale" /> | |
| 51 | + <Folder Include="library\mail" /> | |
| 52 | + <Folder Include="library\network" /> | |
| 53 | + <Folder Include="library\network\bin" /> | |
| 54 | + <Folder Include="library\network\bin\Debug" /> | |
| 55 | + <Folder Include="library\network\bin\Release" /> | |
| 56 | + <Folder Include="library\network\obj" /> | |
| 57 | + <Folder Include="library\network\obj\Debug" /> | |
| 58 | + <Folder Include="library\network\obj\Release" /> | |
| 59 | + <Folder Include="library\syntactic_analysis" /> | |
| 60 | + <Folder Include="library\system" /> | |
| 61 | + <Folder Include="library\system\parameter" /> | |
| 62 | + <Folder Include="library\system_colors" /> | |
| 63 | + <Folder Include="library\system_fonts" /> | |
| 64 | + <Folder Include="library\test" /> | |
| 65 | + <Folder Include="library\test\bin" /> | |
| 66 | + <Folder Include="library\test\bin\Debug" /> | |
| 67 | + <Folder Include="library\test\lexical_analysis" /> | |
| 68 | + <Folder Include="library\test\obj" /> | |
| 69 | + <Folder Include="library\test\obj\Debug" /> | |
| 70 | + <Folder Include="library\test\predefined" /> | |
| 71 | + <Folder Include="library\test\system" /> | |
| 72 | + <Folder Include="library\test\tools" /> | |
| 73 | + <Folder Include="library\tools" /> | |
| 74 | + <Folder Include="library\types" /> | |
| 75 | + <Folder Include="library\types\generated" /> | |
| 76 | + <Folder Include="library\version2" /> | |
| 77 | + <Folder Include="library\vm" /> | |
| 78 | + <Folder Include="library\web" /> | |
| 79 | + <Folder Include="library\widgets3" /> | |
| 80 | + <Folder Include="library\widgets4" /> | |
| 81 | + <Folder Include="library\widgets4\images" /> | |
| 82 | + <Folder Include="library\xml" /> | |
| 26 | 83 | <Folder Include="src" /> |
| 27 | 84 | <Folder Include="xlib" /> |
| 28 | 85 | <Folder Include="xlib\asterisk" /> |
| ... | ... | @@ -61,6 +118,362 @@ |
| 61 | 118 | <Folder Include="xlib\web\plugin" /> |
| 62 | 119 | <Folder Include="xlib\web\types" /> |
| 63 | 120 | <Folder Include="xlib\web\widgets" /> |
| 121 | + <Compile Include="library\a2a\C\formater.anubis" /> | |
| 122 | + <Compile Include="library\a2a\example.anubis" /> | |
| 123 | + <Compile Include="library\a2a\generic\preformater.anubis" /> | |
| 124 | + <Compile Include="library\charset\charset_decoder.anubis" /> | |
| 125 | + <Compile Include="library\charset\gb2312_decoder.anubis" /> | |
| 126 | + <Compile Include="library\charset\iso2022_jp_decoder.anubis" /> | |
| 127 | + <Compile Include="library\cipher\base64.anubis" /> | |
| 128 | + <Compile Include="library\compile_everything.anubis" /> | |
| 129 | + <Compile Include="library\compil_all.anubis" /> | |
| 130 | + <Compile Include="library\compil_all_beta.anubis" /> | |
| 131 | + <Compile Include="library\converters\_1_7_to_1_8.anubis" /> | |
| 132 | + <Compile Include="library\data_base\alter_table.anubis" /> | |
| 133 | + <Compile Include="library\data_base\db_tools.anubis" /> | |
| 134 | + <Compile Include="library\data_base\db_types.anubis" /> | |
| 135 | + <Compile Include="library\data_base\import_csv.anubis" /> | |
| 136 | + <Compile Include="library\data_base\metaSQL.anubis" /> | |
| 137 | + <Compile Include="library\data_base\metaSQL_example_database.anubis" /> | |
| 138 | + <Compile Include="library\data_base\metaSQL_example_queries.anubis" /> | |
| 139 | + <Compile Include="library\data_base\metaSQL_Postgres.anubis" /> | |
| 140 | + <Compile Include="library\data_base\metaSQL_test.anubis" /> | |
| 141 | + <Compile Include="library\data_base\metaSQL_web.anubis" /> | |
| 142 | + <Compile Include="library\data_base\mysql_client.anubis" /> | |
| 143 | + <Compile Include="library\data_base\postgres_client.anubis" /> | |
| 144 | + <Compile Include="library\data_base\postgres_graphic_interface.anubis" /> | |
| 145 | + <Compile Include="library\data_base\read_csv.anubis" /> | |
| 146 | + <Compile Include="library\data_base\read_csv_4.5.anubis" /> | |
| 147 | + <Compile Include="library\data_base\read_csv_table.anubis" /> | |
| 148 | + <Compile Include="library\data_base\sdbms.anubis" /> | |
| 149 | + <Compile Include="library\data_base\sdbms1.anubis" /> | |
| 150 | + <Compile Include="library\data_base\sdbms3.anubis" /> | |
| 151 | + <Compile Include="library\data_base\sdbms4.anubis" /> | |
| 152 | + <Compile Include="library\data_base\sqlite.anubis" /> | |
| 153 | + <Compile Include="library\data_base\sqlite_foreign_key.anubis" /> | |
| 154 | + <Compile Include="library\data_base\theory.anubis" /> | |
| 155 | + <Compile Include="library\doc_tools\latex.anubis" /> | |
| 156 | + <Compile Include="library\doc_tools\make_doc.anubis" /> | |
| 157 | + <Compile Include="library\doc_tools\maml.anubis" /> | |
| 158 | + <Compile Include="library\doc_tools\maml3.anubis" /> | |
| 159 | + <Compile Include="library\examples\args.anubis" /> | |
| 160 | + <Compile Include="library\examples\conditional_examples.anubis" /> | |
| 161 | + <Compile Include="library\examples\cryptography\md5.anubis" /> | |
| 162 | + <Compile Include="library\examples\cryptography\sha1.anubis" /> | |
| 163 | + <Compile Include="library\examples\fibonacci.anubis" /> | |
| 164 | + <Compile Include="library\examples\file_manager_example.anubis" /> | |
| 165 | + <Compile Include="library\examples\graphism\diaporama.anubis" /> | |
| 166 | + <Compile Include="library\examples\graphism\paint.anubis" /> | |
| 167 | + <Compile Include="library\examples\graphism\paint2.anubis" /> | |
| 168 | + <Compile Include="library\examples\graphism\show_image.anubis" /> | |
| 169 | + <Compile Include="library\examples\graphism\try_window.anubis" /> | |
| 170 | + <Compile Include="library\examples\hello.anubis" /> | |
| 171 | + <Compile Include="library\examples\kbd.anubis" /> | |
| 172 | + <Compile Include="library\examples\lexical_analysis\href_extractor.anubis" /> | |
| 173 | + <Compile Include="library\examples\logic\church_integers.anubis" /> | |
| 174 | + <Compile Include="library\examples\logic\peano.anubis" /> | |
| 175 | + <Compile Include="library\examples\ls.anubis" /> | |
| 176 | + <Compile Include="library\examples\mathematics\fact.anubis" /> | |
| 177 | + <Compile Include="library\examples\mathematics\mandelbrot_set.anubis" /> | |
| 178 | + <Compile Include="library\examples\mathematics\mandelbrot_set_old.anubis" /> | |
| 179 | + <Compile Include="library\examples\mathematics\runge_kutta\runge_kutta.anubis" /> | |
| 180 | + <Compile Include="library\examples\mathematics\syracuse.anubis" /> | |
| 181 | + <Compile Include="library\examples\merge_list.anubis" /> | |
| 182 | + <Compile Include="library\examples\mkdir_test.anubis" /> | |
| 183 | + <Compile Include="library\examples\network\client_browser_info.anubis" /> | |
| 184 | + <Compile Include="library\examples\network\client_server.anubis" /> | |
| 185 | + <Compile Include="library\examples\network\minimal_web_site.anubis" /> | |
| 186 | + <Compile Include="library\examples\network\muscle_echo.anubis" /> | |
| 187 | + <Compile Include="library\examples\network\port_scan.anubis" /> | |
| 188 | + <Compile Include="library\examples\network\sntp_client.anubis" /> | |
| 189 | + <Compile Include="library\examples\network\sokoban.anubis" /> | |
| 190 | + <Compile Include="library\examples\network\try_dns.anubis" /> | |
| 191 | + <Compile Include="library\examples\network\udp_client_server.anubis" /> | |
| 192 | + <Compile Include="library\examples\network\upload.anubis" /> | |
| 193 | + <Compile Include="library\examples\playing_with_functions.anubis" /> | |
| 194 | + <Compile Include="library\examples\read_line_example.anubis" /> | |
| 195 | + <Compile Include="library\examples\restart.anubis" /> | |
| 196 | + <Compile Include="library\examples\saturate_example.anubis" /> | |
| 197 | + <Compile Include="library\examples\system\load_adm.anubis" /> | |
| 198 | + <Compile Include="library\examples\test_web_site.anubis" /> | |
| 199 | + <Compile Include="library\examples\try_now.anubis" /> | |
| 200 | + <Compile Include="library\examples\try_protect.anubis" /> | |
| 201 | + <Compile Include="library\examples\watt.anubis" /> | |
| 202 | + <Compile Include="library\examples\_99_bottles_of_beer.anubis" /> | |
| 203 | + <Compile Include="library\graphism\charts.anubis" /> | |
| 204 | + <Compile Include="library\graphism\float_int32.anubis" /> | |
| 205 | + <Compile Include="library\graphism\font_tools.anubis" /> | |
| 206 | + <Compile Include="library\graphism\geometrical_figures.anubis" /> | |
| 207 | + <Compile Include="library\graphism\gif.anubis" /> | |
| 208 | + <Compile Include="library\graphism\image_tools.anubis" /> | |
| 209 | + <Compile Include="library\graphism\jpeg.anubis" /> | |
| 210 | + <Compile Include="library\graphism\jpeg_size.anubis" /> | |
| 211 | + <Compile Include="library\graphism\lzw_gif.anubis" /> | |
| 212 | + <Compile Include="library\graphism\png_size.anubis" /> | |
| 213 | + <Compile Include="library\graphism\test_charts.anubis" /> | |
| 214 | + <Compile Include="library\graphism\test_gfigures.anubis" /> | |
| 215 | + <Compile Include="library\install_released_files.anubis" /> | |
| 216 | + <Compile Include="library\lexical_analysis\compile_time_test.anubis" /> | |
| 217 | + <Compile Include="library\lexical_analysis\fast_lexer.anubis" /> | |
| 218 | + <Compile Include="library\lexical_analysis\fast_lexer_2.anubis" /> | |
| 219 | + <Compile Include="library\lexical_analysis\fast_lexer_3.anubis" /> | |
| 220 | + <Compile Include="library\lexical_analysis\fast_lexer_4.5.anubis" /> | |
| 221 | + <Compile Include="library\lexical_analysis\fast_lexer_4.anubis" /> | |
| 222 | + <Compile Include="library\lexical_analysis\fast_lexer_example_1.anubis" /> | |
| 223 | + <Compile Include="library\lexical_analysis\fast_lexer_example_2.anubis" /> | |
| 224 | + <Compile Include="library\lexical_analysis\lexer_maker_v2.anubis" /> | |
| 225 | + <Compile Include="library\lexical_analysis\testing_fast_lexer.anubis" /> | |
| 226 | + <Compile Include="library\lexical_analysis\xml.anubis" /> | |
| 227 | + <Compile Include="library\locale\iso3166-1.anubis" /> | |
| 228 | + <Compile Include="library\locale\L3.anubis" /> | |
| 229 | + <Compile Include="library\locale\L3LanguageInfo.anubis" /> | |
| 230 | + <Compile Include="library\mail\send_mail.anubis" /> | |
| 231 | + <Compile Include="library\mail\smtp_server.anubis" /> | |
| 232 | + <Compile Include="library\make_distribution_library.anubis" /> | |
| 233 | + <Compile Include="library\mycompile_everything.anubis" /> | |
| 234 | + <Compile Include="library\network\dns.anubis" /> | |
| 235 | + <Compile Include="library\network\dns_tools.anubis" /> | |
| 236 | + <Compile Include="library\network\metaprotocol.anubis" /> | |
| 237 | + <Compile Include="library\network\parse_hosts.anubis" /> | |
| 238 | + <Compile Include="library\network\remote_files_manager_common.anubis" /> | |
| 239 | + <Compile Include="library\network\sntp.anubis" /> | |
| 240 | + <Compile Include="library\network\tools.anubis" /> | |
| 241 | + <Compile Include="library\official_library.anubis" /> | |
| 242 | + <Compile Include="library\predefined.anubis" /> | |
| 243 | + <Compile Include="library\syntactic_analysis\anubis_output.anubis" /> | |
| 244 | + <Compile Include="library\syntactic_analysis\common.anubis" /> | |
| 245 | + <Compile Include="library\syntactic_analysis\make_automaton.anubis" /> | |
| 246 | + <Compile Include="library\syntactic_analysis\parser_generator.anubis" /> | |
| 247 | + <Compile Include="library\syntactic_analysis\read_grammar.anubis" /> | |
| 248 | + <Compile Include="library\syntactic_analysis\yacc_version.anubis" /> | |
| 249 | + <Compile Include="library\system\bytearray.anubis" /> | |
| 250 | + <Compile Include="library\system\convert.anubis" /> | |
| 251 | + <Compile Include="library\system\data_io.anubis" /> | |
| 252 | + <Compile Include="library\system\datetime.anubis" /> | |
| 253 | + <Compile Include="library\system\files.anubis" /> | |
| 254 | + <Compile Include="library\system\lists.anubis" /> | |
| 255 | + <Compile Include="library\system\logger.anubis" /> | |
| 256 | + <Compile Include="library\system\message_queue.anubis" /> | |
| 257 | + <Compile Include="library\system\message_transceiver.anubis" /> | |
| 258 | + <Compile Include="library\system\muscle.anubis" /> | |
| 259 | + <Compile Include="library\system\parameter\inifile.anubis" /> | |
| 260 | + <Compile Include="library\system\string.anubis" /> | |
| 261 | + <Compile Include="library\system\test_logger.anubis" /> | |
| 262 | + <Compile Include="library\system\types.anubis" /> | |
| 263 | + <Compile Include="library\system_colors\hsl.anubis" /> | |
| 264 | + <Compile Include="library\system_colors\hsv.anubis" /> | |
| 265 | + <Compile Include="library\system_colors\rgb.anubis" /> | |
| 266 | + <Compile Include="library\system_colors\system_colors.anubis" /> | |
| 267 | + <Compile Include="library\system_fonts\draw_font.anubis" /> | |
| 268 | + <Compile Include="library\system_fonts\font_table.anubis" /> | |
| 269 | + <Compile Include="library\test\all_unit_test.anubis" /> | |
| 270 | + <Compile Include="library\test\cp_test.anubis" /> | |
| 271 | + <Compile Include="library\test\execute_capture.anubis" /> | |
| 272 | + <Compile Include="library\test\inifile_test.anubis" /> | |
| 273 | + <Compile Include="library\test\lexical_analysis\fast_lexer.ut.anubis" /> | |
| 274 | + <Compile Include="library\test\lexical_analysis\low_level_fast_lexer_test.anubis" /> | |
| 275 | + <Compile Include="library\test\locale_test.anubis" /> | |
| 276 | + <Compile Include="library\test\Logger_test.anubis" /> | |
| 277 | + <Compile Include="library\test\predefined\ByteArray.ut.anubis" /> | |
| 278 | + <Compile Include="library\test\predefined\date_and_time.unit_test.anubis" /> | |
| 279 | + <Compile Include="library\test\predefined\dbapi.unit_test.anubis" /> | |
| 280 | + <Compile Include="library\test\predefined\decimal_scan.unit_test.anubis" /> | |
| 281 | + <Compile Include="library\test\predefined\fast_lexer.unit_test.anubis" /> | |
| 282 | + <Compile Include="library\test\predefined\file.ut.anubis" /> | |
| 283 | + <Compile Include="library\test\predefined\Int.unit_test.anubis" /> | |
| 284 | + <Compile Include="library\test\predefined\sqlite.obsolete.unit_test.anubis" /> | |
| 285 | + <Compile Include="library\test\predefined\sqlite.unit_test.anubis" /> | |
| 286 | + <Compile Include="library\test\serialize_test.anubis" /> | |
| 287 | + <Compile Include="library\test\sqlite3_test.anubis" /> | |
| 288 | + <Compile Include="library\test\SSLTest.anubis" /> | |
| 289 | + <Compile Include="library\test\system\convert.unit_test.anubis" /> | |
| 290 | + <Compile Include="library\test\system\files.unit_test.anubis" /> | |
| 291 | + <Compile Include="library\test\system\Int.unit_test.anubis" /> | |
| 292 | + <Compile Include="library\test\system\message_queue.unit_test.anubis" /> | |
| 293 | + <Compile Include="library\test\system\message_transceiver.unit_test.anubis" /> | |
| 294 | + <Compile Include="library\test\system\string.unit_test.anubis" /> | |
| 295 | + <Compile Include="library\test\system\wordXX.unit_test.anubis" /> | |
| 296 | + <Compile Include="library\test\TestItem.anubis" /> | |
| 297 | + <Compile Include="library\test\tools\line_reader.ut.anubis" /> | |
| 298 | + <Compile Include="library\test\tools\utf-8.unit_test.anubis" /> | |
| 299 | + <Compile Include="library\test\vm_test.anubis" /> | |
| 300 | + <Compile Include="library\tools\2-4tree.anubis" /> | |
| 301 | + <Compile Include="library\tools\admloader_test.anubis" /> | |
| 302 | + <Compile Include="library\tools\adm_autoreload.anubis" /> | |
| 303 | + <Compile Include="library\tools\adm_autoreload_tools.anubis" /> | |
| 304 | + <Compile Include="library\tools\ANSI-colors.anubis" /> | |
| 305 | + <Compile Include="library\tools\autocompile.anubis" /> | |
| 306 | + <Compile Include="library\tools\avltrees.anubis" /> | |
| 307 | + <Compile Include="library\tools\base64.anubis" /> | |
| 308 | + <Compile Include="library\tools\basis.anubis" /> | |
| 309 | + <Compile Include="library\tools\bool.anubis" /> | |
| 310 | + <Compile Include="library\tools\btree1.anubis" /> | |
| 311 | + <Compile Include="library\tools\buffered_connection.anubis" /> | |
| 312 | + <Compile Include="library\tools\bytearray.anubis" /> | |
| 313 | + <Compile Include="library\tools\cmd_line.anubis" /> | |
| 314 | + <Compile Include="library\tools\connections.anubis" /> | |
| 315 | + <Compile Include="library\tools\delegate_writer.anubis" /> | |
| 316 | + <Compile Include="library\tools\dictionaries.anubis" /> | |
| 317 | + <Compile Include="library\tools\dump_file.anubis" /> | |
| 318 | + <Compile Include="library\tools\explore_disk.anubis" /> | |
| 319 | + <Compile Include="library\tools\file_and_dir.anubis" /> | |
| 320 | + <Compile Include="library\tools\findstring.anubis" /> | |
| 321 | + <Compile Include="library\tools\find_and_replace.anubis" /> | |
| 322 | + <Compile Include="library\tools\find_and_replace_simulator.anubis" /> | |
| 323 | + <Compile Include="library\tools\finger_trees.anubis" /> | |
| 324 | + <Compile Include="library\tools\float.anubis" /> | |
| 325 | + <Compile Include="library\tools\function.anubis" /> | |
| 326 | + <Compile Include="library\tools\graphic.anubis" /> | |
| 327 | + <Compile Include="library\tools\graphviz.anubis" /> | |
| 328 | + <Compile Include="library\tools\hashtable.anubis" /> | |
| 329 | + <Compile Include="library\tools\int.anubis" /> | |
| 330 | + <Compile Include="library\tools\ip_address.anubis" /> | |
| 331 | + <Compile Include="library\tools\ISO-8601.anubis" /> | |
| 332 | + <Compile Include="library\tools\iterators.anubis" /> | |
| 333 | + <Compile Include="library\tools\latex.anubis" /> | |
| 334 | + <Compile Include="library\tools\line_reader.anubis" /> | |
| 335 | + <Compile Include="library\tools\list.anubis" /> | |
| 336 | + <Compile Include="library\tools\maml.anubis" /> | |
| 337 | + <Compile Include="library\tools\maybefloat.anubis" /> | |
| 338 | + <Compile Include="library\tools\printable_tree.anubis" /> | |
| 339 | + <Compile Include="library\tools\prompt.anubis" /> | |
| 340 | + <Compile Include="library\tools\random.anubis" /> | |
| 341 | + <Compile Include="library\tools\rationals.anubis" /> | |
| 342 | + <Compile Include="library\tools\read_table.anubis" /> | |
| 343 | + <Compile Include="library\tools\safe_save_retrieve.anubis" /> | |
| 344 | + <Compile Include="library\tools\saturate.anubis" /> | |
| 345 | + <Compile Include="library\tools\schedul_task.anubis" /> | |
| 346 | + <Compile Include="library\tools\sdbms.anubis" /> | |
| 347 | + <Compile Include="library\tools\sdbms1.anubis" /> | |
| 348 | + <Compile Include="library\tools\sdbms2.anubis" /> | |
| 349 | + <Compile Include="library\tools\sorting.anubis" /> | |
| 350 | + <Compile Include="library\tools\streams.anubis" /> | |
| 351 | + <Compile Include="library\tools\string.anubis" /> | |
| 352 | + <Compile Include="library\tools\tables.anubis" /> | |
| 353 | + <Compile Include="library\tools\time.anubis" /> | |
| 354 | + <Compile Include="library\tools\tools.anubis" /> | |
| 355 | + <Compile Include="library\tools\unit_test.anubis" /> | |
| 356 | + <Compile Include="library\tools\useful_types.anubis" /> | |
| 357 | + <Compile Include="library\tools\utf-8.anubis" /> | |
| 358 | + <Compile Include="library\tools\words.anubis" /> | |
| 359 | + <Compile Include="library\types\generated\mime.anubis" /> | |
| 360 | + <Compile Include="library\version2\diaconescu.anubis" /> | |
| 361 | + <Compile Include="library\vm\vm_dump.anubis" /> | |
| 362 | + <Compile Include="library\vm_test.anubis" /> | |
| 363 | + <Compile Include="library\web\calculatrice.anubis" /> | |
| 364 | + <Compile Include="library\web\common.anubis" /> | |
| 365 | + <Compile Include="library\web\cookies.anubis" /> | |
| 366 | + <Compile Include="library\web\counter.anubis" /> | |
| 367 | + <Compile Include="library\web\default_web_site.anubis" /> | |
| 368 | + <Compile Include="library\web\dynamic_http_server.anubis" /> | |
| 369 | + <Compile Include="library\web\file_manager.anubis" /> | |
| 370 | + <Compile Include="library\web\generic_form.anubis" /> | |
| 371 | + <Compile Include="library\web\generic_login.anubis" /> | |
| 372 | + <Compile Include="library\web\generic_table.anubis" /> | |
| 373 | + <Compile Include="library\web\html.anubis" /> | |
| 374 | + <Compile Include="library\web\https_get.anubis" /> | |
| 375 | + <Compile Include="library\web\http_get.anubis" /> | |
| 376 | + <Compile Include="library\web\http_get_common.anubis" /> | |
| 377 | + <Compile Include="library\web\http_trace.anubis" /> | |
| 378 | + <Compile Include="library\web\kernel.anubis" /> | |
| 379 | + <Compile Include="library\web\language.anubis" /> | |
| 380 | + <Compile Include="library\web\making_a_web_site.anubis" /> | |
| 381 | + <Compile Include="library\web\making_forms.anubis" /> | |
| 382 | + <Compile Include="library\web\mime.anubis" /> | |
| 383 | + <Compile Include="library\web\modules.anubis" /> | |
| 384 | + <Compile Include="library\web\multihost_http_server.anubis" /> | |
| 385 | + <Compile Include="library\web\read_html.anubis" /> | |
| 386 | + <Compile Include="library\web\secure_action.anubis" /> | |
| 387 | + <Compile Include="library\web\service_machine.anubis" /> | |
| 388 | + <Compile Include="library\web\site_test.anubis" /> | |
| 389 | + <Compile Include="library\web\sokoban.anubis" /> | |
| 390 | + <Compile Include="library\web\torture_server.anubis" /> | |
| 391 | + <Compile Include="library\web\web_arg_encode.anubis" /> | |
| 392 | + <Compile Include="library\widgets3\5_ht.anubis" /> | |
| 393 | + <Compile Include="library\widgets3\box.anubis" /> | |
| 394 | + <Compile Include="library\widgets3\bubble.anubis" /> | |
| 395 | + <Compile Include="library\widgets3\button.anubis" /> | |
| 396 | + <Compile Include="library\widgets3\characters_example.anubis" /> | |
| 397 | + <Compile Include="library\widgets3\check_box.anubis" /> | |
| 398 | + <Compile Include="library\widgets3\colors.anubis" /> | |
| 399 | + <Compile Include="library\widgets3\desktop.anubis" /> | |
| 400 | + <Compile Include="library\widgets3\desktop_example.anubis" /> | |
| 401 | + <Compile Include="library\widgets3\drag_and_drop.anubis" /> | |
| 402 | + <Compile Include="library\widgets3\generic_editor.anubis" /> | |
| 403 | + <Compile Include="library\widgets3\generic_editor_example.anubis" /> | |
| 404 | + <Compile Include="library\widgets3\host_window.anubis" /> | |
| 405 | + <Compile Include="library\widgets3\hypertext.anubis" /> | |
| 406 | + <Compile Include="library\widgets3\image.anubis" /> | |
| 407 | + <Compile Include="library\widgets3\input.anubis" /> | |
| 408 | + <Compile Include="library\widgets3\map_list.anubis" /> | |
| 409 | + <Compile Include="library\widgets3\menus.anubis" /> | |
| 410 | + <Compile Include="library\widgets3\menu_manager.anubis" /> | |
| 411 | + <Compile Include="library\widgets3\o_essai.anubis" /> | |
| 412 | + <Compile Include="library\widgets3\o_hypertext.anubis" /> | |
| 413 | + <Compile Include="library\widgets3\resizer.anubis" /> | |
| 414 | + <Compile Include="library\widgets3\scrollbar.anubis" /> | |
| 415 | + <Compile Include="library\widgets3\simple_example.anubis" /> | |
| 416 | + <Compile Include="library\widgets3\simple_window.anubis" /> | |
| 417 | + <Compile Include="library\widgets3\space.anubis" /> | |
| 418 | + <Compile Include="library\widgets3\table.anubis" /> | |
| 419 | + <Compile Include="library\widgets3\table_example.anubis" /> | |
| 420 | + <Compile Include="library\widgets3\text.anubis" /> | |
| 421 | + <Compile Include="library\widgets3\tickets_holder.anubis" /> | |
| 422 | + <Compile Include="library\widgets3\tools.anubis" /> | |
| 423 | + <Compile Include="library\widgets3\trace.anubis" /> | |
| 424 | + <Compile Include="library\widgets3\tree_editor.anubis" /> | |
| 425 | + <Compile Include="library\widgets3\tree_editor_test.anubis" /> | |
| 426 | + <Compile Include="library\widgets3\try_ht.anubis" /> | |
| 427 | + <Compile Include="library\widgets3\ubiquity.anubis" /> | |
| 428 | + <Compile Include="library\widgets3\variable.anubis" /> | |
| 429 | + <Compile Include="library\widgets3\widget.anubis" /> | |
| 430 | + <Compile Include="library\widgets3\window.anubis" /> | |
| 431 | + <Compile Include="library\widgets4\background.anubis" /> | |
| 432 | + <Compile Include="library\widgets4\box.anubis" /> | |
| 433 | + <Compile Include="library\widgets4\bubble_manager.anubis" /> | |
| 434 | + <Compile Include="library\widgets4\bubble_manager_test.anubis" /> | |
| 435 | + <Compile Include="library\widgets4\button.anubis" /> | |
| 436 | + <Compile Include="library\widgets4\check_box.anubis" /> | |
| 437 | + <Compile Include="library\widgets4\desktop.anubis" /> | |
| 438 | + <Compile Include="library\widgets4\desktop_example.anubis" /> | |
| 439 | + <Compile Include="library\widgets4\detect_event.anubis" /> | |
| 440 | + <Compile Include="library\widgets4\host_window.anubis" /> | |
| 441 | + <Compile Include="library\widgets4\hypertext.anubis" /> | |
| 442 | + <Compile Include="library\widgets4\hypertext_test.anubis" /> | |
| 443 | + <Compile Include="library\widgets4\image.anubis" /> | |
| 444 | + <Compile Include="library\widgets4\make_tartan_files.anubis" /> | |
| 445 | + <Compile Include="library\widgets4\menus.anubis" /> | |
| 446 | + <Compile Include="library\widgets4\menu_manager.anubis" /> | |
| 447 | + <Compile Include="library\widgets4\menu_manager_test.anubis" /> | |
| 448 | + <Compile Include="library\widgets4\mouse_tracker.anubis" /> | |
| 449 | + <Compile Include="library\widgets4\radio_button.anubis" /> | |
| 450 | + <Compile Include="library\widgets4\radio_buttons_test.anubis" /> | |
| 451 | + <Compile Include="library\widgets4\resizer.anubis" /> | |
| 452 | + <Compile Include="library\widgets4\scrollbar.anubis" /> | |
| 453 | + <Compile Include="library\widgets4\simple_window.anubis" /> | |
| 454 | + <Compile Include="library\widgets4\space.anubis" /> | |
| 455 | + <Compile Include="library\widgets4\table.anubis" /> | |
| 456 | + <Compile Include="library\widgets4\tartan_generator.anubis" /> | |
| 457 | + <Compile Include="library\widgets4\tartan_generator_demo.anubis" /> | |
| 458 | + <Compile Include="library\widgets4\tests.anubis" /> | |
| 459 | + <Compile Include="library\widgets4\text.anubis" /> | |
| 460 | + <Compile Include="library\widgets4\text_input.anubis" /> | |
| 461 | + <Compile Include="library\widgets4\text_input_test.anubis" /> | |
| 462 | + <Compile Include="library\widgets4\ticket_keeper.anubis" /> | |
| 463 | + <Compile Include="library\widgets4\tools.anubis" /> | |
| 464 | + <Compile Include="library\widgets4\trace.anubis" /> | |
| 465 | + <Compile Include="library\widgets4\tree_editor.anubis" /> | |
| 466 | + <Compile Include="library\widgets4\tree_editor_test.anubis" /> | |
| 467 | + <Compile Include="library\widgets4\tree_node.anubis" /> | |
| 468 | + <Compile Include="library\widgets4\variable_widget.anubis" /> | |
| 469 | + <Compile Include="library\widgets4\widget.anubis" /> | |
| 470 | + <Compile Include="library\widgets4\widget_demo.anubis" /> | |
| 471 | + <Compile Include="library\widgets4\widget_test.anubis" /> | |
| 472 | + <Compile Include="library\widgets4\window.anubis" /> | |
| 473 | + <Compile Include="library\widgets4\window_test.anubis" /> | |
| 474 | + <Compile Include="library\xml\basic_xml_parser.anubis" /> | |
| 475 | + <Compile Include="library\xml\xml_parser.apg.anubis" /> | |
| 476 | + <Compile Include="library\xml\xml_parser_types.anubis" /> | |
| 64 | 477 | <Compile Include="src\logger_server.anubis" /> |
| 65 | 478 | <Compile Include="src\logger_test.anubis" /> |
| 66 | 479 | <Compile Include="xlib\asterisk\ami.anubis" /> |
| ... | ... | @@ -206,6 +619,165 @@ |
| 206 | 619 | <Compile Include="xlib\web\widgets\menu.anubis" /> |
| 207 | 620 | <Compile Include="xlib\web\widgets\pager.anubis" /> |
| 208 | 621 | <Compile Include="xlib\web\widgets\specialized_elements.anubis" /> |
| 622 | + <None Include="library\anubis_doc.maml" /> | |
| 623 | + <None Include="library\compile_all.inproj" /> | |
| 624 | + <None Include="library\doc_tools\cows.jpg" /> | |
| 625 | + <None Include="library\doc_tools\fNScTnBA4MH-qH_w0pRfArXeeKE8.png" /> | |
| 626 | + <None Include="library\doc_tools\fq22PnfBrYNx2fPr8NQyxy5tdO_A.png" /> | |
| 627 | + <None Include="library\doc_tools\maml3_tutorial.html" /> | |
| 628 | + <None Include="library\doc_tools\maml3_tutorial.maml" /> | |
| 629 | + <None Include="library\doc_tools\maml3_tutorial.maml.html" /> | |
| 630 | + <None Include="library\doc_tools\maml3_tutorial.maml.pdf" /> | |
| 631 | + <None Include="library\doc_tools\maml3_tutorial.pdf" /> | |
| 632 | + <None Include="library\doc_tools\tNScTnBA4MH-qH_w0pRfArXeeKE8.png" /> | |
| 633 | + <None Include="library\examples\determinism.anubis.c" /> | |
| 634 | + <None Include="library\examples\for_loop.anubis.c" /> | |
| 635 | + <None Include="library\examples\graphism\image_samples\cows.jpg" /> | |
| 636 | + <None Include="library\examples\graphism\image_samples\farm.jpg" /> | |
| 637 | + <None Include="library\examples\graphism\image_samples\fingers.jpg" /> | |
| 638 | + <None Include="library\examples\graphism\image_samples\flowers.jpg" /> | |
| 639 | + <None Include="library\examples\graphism\image_samples\mountain.jpg" /> | |
| 640 | + <None Include="library\examples\graphism\image_samples\torrent.jpg" /> | |
| 641 | + <None Include="library\examples\mathematics\runge_kutta\runge_kutta.apg" /> | |
| 642 | + <None Include="library\examples\network\public\bambou.gif" /> | |
| 643 | + <None Include="library\examples\network\public\bleuc.gif" /> | |
| 644 | + <None Include="library\examples\network\public\bleuccloud.gif" /> | |
| 645 | + <None Include="library\examples\network\public\boule.gif" /> | |
| 646 | + <None Include="library\examples\network\public\button_prev.gif" /> | |
| 647 | + <None Include="library\examples\network\public\cloud.gif" /> | |
| 648 | + <None Include="library\examples\network\public\gboule.gif" /> | |
| 649 | + <None Include="library\examples\network\public\gtete.gif" /> | |
| 650 | + <None Include="library\examples\network\public\noir25.gif" /> | |
| 651 | + <None Include="library\examples\network\public\noir25cloud.gif" /> | |
| 652 | + <None Include="library\examples\network\public\tete.gif" /> | |
| 653 | + <None Include="library\examples\OOCounter.anubis.cpp" /> | |
| 654 | + <None Include="library\graphism\image_samples\cows.jpg" /> | |
| 655 | + <None Include="library\graphism\image_samples\farm.jpg" /> | |
| 656 | + <None Include="library\graphism\image_samples\fingers.jpg" /> | |
| 657 | + <None Include="library\graphism\image_samples\flowers.jpg" /> | |
| 658 | + <None Include="library\graphism\image_samples\mountain.jpg" /> | |
| 659 | + <None Include="library\graphism\image_samples\torrent.jpg" /> | |
| 660 | + <None Include="library\install_released_files.bat" /> | |
| 661 | + <None Include="library\install_test.bat" /> | |
| 662 | + <None Include="library\lexical_analysis\lexer_maker_v2_example.lexer" /> | |
| 663 | + <None Include="library\lexical_analysis\test.xml" /> | |
| 664 | + <None Include="library\locale\ISO-639-1 and ISO-639-2.txt" /> | |
| 665 | + <None Include="library\locale\ISO-639-2_values_8bits.txt" /> | |
| 666 | + <None Include="library\network\bin\Release\dns.adm" /> | |
| 667 | + <None Include="library\network\dns.aproj" /> | |
| 668 | + <None Include="library\network\dns.ide" /> | |
| 669 | + <None Include="library\network\obj\dns.aproj.FileListAbsolute.txt" /> | |
| 670 | + <None Include="library\network\obj\Release\dns.adm" /> | |
| 671 | + <None Include="library\network\obj\Release\mail_server_address.adm" /> | |
| 672 | + <None Include="library\network\obj\Release\query_dns.adm" /> | |
| 673 | + <None Include="library\network\obj\Release\resolve_address.adm" /> | |
| 674 | + <None Include="library\syntactic_analysis\anubis_output.anubis.test" /> | |
| 675 | + <None Include="library\syntactic_analysis\calculator_example.apg" /> | |
| 676 | + <None Include="library\syntactic_analysis\essai.apg" /> | |
| 677 | + <None Include="library\syntactic_analysis\README" /> | |
| 678 | + <None Include="library\system_fonts\courier_bold_o_10.sf" /> | |
| 679 | + <None Include="library\system_fonts\courier_bold_o_12.sf" /> | |
| 680 | + <None Include="library\system_fonts\courier_bold_o_14.sf" /> | |
| 681 | + <None Include="library\system_fonts\courier_bold_o_18.sf" /> | |
| 682 | + <None Include="library\system_fonts\courier_bold_o_24.sf" /> | |
| 683 | + <None Include="library\system_fonts\courier_bold_o_8.sf" /> | |
| 684 | + <None Include="library\system_fonts\courier_bold_r_10.sf" /> | |
| 685 | + <None Include="library\system_fonts\courier_bold_r_12.sf" /> | |
| 686 | + <None Include="library\system_fonts\courier_bold_r_14.sf" /> | |
| 687 | + <None Include="library\system_fonts\courier_bold_r_18.sf" /> | |
| 688 | + <None Include="library\system_fonts\courier_bold_r_24.sf" /> | |
| 689 | + <None Include="library\system_fonts\courier_bold_r_8.sf" /> | |
| 690 | + <None Include="library\system_fonts\courier_medium_o_10.sf" /> | |
| 691 | + <None Include="library\system_fonts\courier_medium_o_12.sf" /> | |
| 692 | + <None Include="library\system_fonts\courier_medium_o_14.sf" /> | |
| 693 | + <None Include="library\system_fonts\courier_medium_o_18.sf" /> | |
| 694 | + <None Include="library\system_fonts\courier_medium_o_24.sf" /> | |
| 695 | + <None Include="library\system_fonts\courier_medium_o_8.sf" /> | |
| 696 | + <None Include="library\system_fonts\courier_medium_r_10.sf" /> | |
| 697 | + <None Include="library\system_fonts\courier_medium_r_12.sf" /> | |
| 698 | + <None Include="library\system_fonts\courier_medium_r_14.sf" /> | |
| 699 | + <None Include="library\system_fonts\courier_medium_r_18.sf" /> | |
| 700 | + <None Include="library\system_fonts\courier_medium_r_24.sf" /> | |
| 701 | + <None Include="library\system_fonts\courier_medium_r_8.sf" /> | |
| 702 | + <None Include="library\system_fonts\helvetica_bold_o_10.sf" /> | |
| 703 | + <None Include="library\system_fonts\helvetica_bold_o_12.sf" /> | |
| 704 | + <None Include="library\system_fonts\helvetica_bold_o_14.sf" /> | |
| 705 | + <None Include="library\system_fonts\helvetica_bold_o_18.sf" /> | |
| 706 | + <None Include="library\system_fonts\helvetica_bold_o_24.sf" /> | |
| 707 | + <None Include="library\system_fonts\helvetica_bold_o_8.sf" /> | |
| 708 | + <None Include="library\system_fonts\helvetica_bold_r_10.sf" /> | |
| 709 | + <None Include="library\system_fonts\helvetica_bold_r_12.sf" /> | |
| 710 | + <None Include="library\system_fonts\helvetica_bold_r_14.sf" /> | |
| 711 | + <None Include="library\system_fonts\helvetica_bold_r_18.sf" /> | |
| 712 | + <None Include="library\system_fonts\helvetica_bold_r_24.sf" /> | |
| 713 | + <None Include="library\system_fonts\helvetica_bold_r_8.sf" /> | |
| 714 | + <None Include="library\system_fonts\helvetica_medium_o_10.sf" /> | |
| 715 | + <None Include="library\system_fonts\helvetica_medium_o_12.sf" /> | |
| 716 | + <None Include="library\system_fonts\helvetica_medium_o_14.sf" /> | |
| 717 | + <None Include="library\system_fonts\helvetica_medium_o_18.sf" /> | |
| 718 | + <None Include="library\system_fonts\helvetica_medium_o_24.sf" /> | |
| 719 | + <None Include="library\system_fonts\helvetica_medium_o_8.sf" /> | |
| 720 | + <None Include="library\system_fonts\helvetica_medium_r_10.sf" /> | |
| 721 | + <None Include="library\system_fonts\helvetica_medium_r_12.sf" /> | |
| 722 | + <None Include="library\system_fonts\helvetica_medium_r_14.sf" /> | |
| 723 | + <None Include="library\system_fonts\helvetica_medium_r_18.sf" /> | |
| 724 | + <None Include="library\system_fonts\helvetica_medium_r_24.sf" /> | |
| 725 | + <None Include="library\system_fonts\helvetica_medium_r_8.sf" /> | |
| 726 | + <None Include="library\system_fonts\times_bold_i_10.sf" /> | |
| 727 | + <None Include="library\system_fonts\times_bold_i_12.sf" /> | |
| 728 | + <None Include="library\system_fonts\times_bold_i_14.sf" /> | |
| 729 | + <None Include="library\system_fonts\times_bold_i_18.sf" /> | |
| 730 | + <None Include="library\system_fonts\times_bold_i_24.sf" /> | |
| 731 | + <None Include="library\system_fonts\times_bold_i_8.sf" /> | |
| 732 | + <None Include="library\system_fonts\times_bold_r_10.sf" /> | |
| 733 | + <None Include="library\system_fonts\times_bold_r_12.sf" /> | |
| 734 | + <None Include="library\system_fonts\times_bold_r_14.sf" /> | |
| 735 | + <None Include="library\system_fonts\times_bold_r_18.sf" /> | |
| 736 | + <None Include="library\system_fonts\times_bold_r_24.sf" /> | |
| 737 | + <None Include="library\system_fonts\times_bold_r_8.sf" /> | |
| 738 | + <None Include="library\system_fonts\times_medium_i_10.sf" /> | |
| 739 | + <None Include="library\system_fonts\times_medium_i_12.sf" /> | |
| 740 | + <None Include="library\system_fonts\times_medium_i_14.sf" /> | |
| 741 | + <None Include="library\system_fonts\times_medium_i_18.sf" /> | |
| 742 | + <None Include="library\system_fonts\times_medium_i_24.sf" /> | |
| 743 | + <None Include="library\system_fonts\times_medium_i_8.sf" /> | |
| 744 | + <None Include="library\system_fonts\times_medium_r_10.sf" /> | |
| 745 | + <None Include="library\system_fonts\times_medium_r_12.sf" /> | |
| 746 | + <None Include="library\system_fonts\times_medium_r_14.sf" /> | |
| 747 | + <None Include="library\system_fonts\times_medium_r_18.sf" /> | |
| 748 | + <None Include="library\system_fonts\times_medium_r_24.sf" /> | |
| 749 | + <None Include="library\system_fonts\times_medium_r_8.sf" /> | |
| 750 | + <None Include="library\test\Anubis UnitTest.aproj" /> | |
| 751 | + <None Include="library\test\Anubis UnitTest.ide" /> | |
| 752 | + <None Include="library\test\bin\Debug\Anubis UnitTest.adm" /> | |
| 753 | + <None Include="library\test\duplicate_letters.c" /> | |
| 754 | + <None Include="library\test\obj\Anubis UnitTest.aproj.FileListAbsolute.txt" /> | |
| 755 | + <None Include="library\test\obj\Debug\all_unit_test.adm" /> | |
| 756 | + <None Include="library\test\obj\Debug\Anubis UnitTest.adm" /> | |
| 757 | + <None Include="library\test\obj\Debug\int_test.adm" /> | |
| 758 | + <None Include="library\tools\maml.anubis.1" /> | |
| 759 | + <None Include="library\tools\safe_save_retrieve.anubis_back" /> | |
| 760 | + <None Include="library\web\spacer.gif" /> | |
| 761 | + <None Include="library\widgets3\alienor.jpg" /> | |
| 762 | + <None Include="library\widgets3\alienor_aquitaine.jpg" /> | |
| 763 | + <None Include="library\widgets3\anubis.jpg" /> | |
| 764 | + <None Include="library\widgets3\flowers.jpg" /> | |
| 765 | + <None Include="library\widgets3\gisant_alienor.jpg" /> | |
| 766 | + <None Include="library\widgets3\gisant_alienor2.jpg" /> | |
| 767 | + <None Include="library\widgets3\henri_2.jpg" /> | |
| 768 | + <None Include="library\widgets3\john_lackland.jpg" /> | |
| 769 | + <None Include="library\widgets3\old_sarum.jpg" /> | |
| 770 | + <None Include="library\widgets3\richard.jpg" /> | |
| 771 | + <None Include="library\widgets4\images\bidon.jpg" /> | |
| 772 | + <None Include="library\widgets4\images\checked.jpg" /> | |
| 773 | + <None Include="library\widgets4\images\cows.jpg" /> | |
| 774 | + <None Include="library\widgets4\images\farm.jpg" /> | |
| 775 | + <None Include="library\widgets4\images\fingers.jpg" /> | |
| 776 | + <None Include="library\widgets4\images\flowers.jpg" /> | |
| 777 | + <None Include="library\widgets4\images\mountain.jpg" /> | |
| 778 | + <None Include="library\widgets4\images\not_checked.jpg" /> | |
| 779 | + <None Include="library\widgets4\images\torrent.jpg" /> | |
| 780 | + <None Include="library\xml\xml_parser.apg" /> | |
| 209 | 781 | <None Include="xlib\.git" /> |
| 210 | 782 | <None Include="xlib\.gitignore" /> |
| 211 | 783 | <None Include="xlib\examples.ide" /> | ... | ... |
src/src/logger_server.anubis
| ... | ... | @@ -25,6 +25,55 @@ type UID_loggers: |
| 25 | 25 | ) |
| 26 | 26 | . |
| 27 | 27 | |
| 28 | + | |
| 29 | +type UID_loggers_No_Var: | |
| 30 | + uid_loggers_no_var( | |
| 31 | + String uid, | |
| 32 | + String base_dir, | |
| 33 | + List(Logger_no_Var) loggers | |
| 34 | + ) | |
| 35 | +. | |
| 36 | + | |
| 37 | + | |
| 38 | +define One | |
| 39 | + save_loggers | |
| 40 | + ( | |
| 41 | + Var(List(UID_loggers)) logs | |
| 42 | + )= | |
| 43 | + with anb_log_cache = find_and_replace(my_anubis_directory, "\\", "/") + "/anb_log/cache", | |
| 44 | + with to_cache = | |
| 45 | + map((UID_loggers uid_l) |-> | |
| 46 | + uid_loggers_no_var( | |
| 47 | + uid_l.uid, | |
| 48 | + uid_l.base_dir, | |
| 49 | + map((Logger l) |-> | |
| 50 | + to_Logger_no_Var(l) | |
| 51 | + , | |
| 52 | + *uid_l.loggers) | |
| 53 | + ) | |
| 54 | + , | |
| 55 | + *logs), | |
| 56 | + forget(save(to_cache, anb_log_cache)) | |
| 57 | +. | |
| 58 | + | |
| 59 | +define Var(List(UID_loggers)) | |
| 60 | + load_loggers = | |
| 61 | + with anb_log_cache = find_and_replace(my_anubis_directory, "\\", "/") + "/anb_log/cache", | |
| 62 | + if(RetrieveResult(List(UID_loggers_No_Var)))retrieve(anb_log_cache) is ok(lnvs) then | |
| 63 | + var(map((UID_loggers_No_Var lnv) |-> | |
| 64 | + uid_loggers( | |
| 65 | + lnv.uid, | |
| 66 | + lnv.base_dir, | |
| 67 | + var(map((Logger_no_Var l) |-> | |
| 68 | + to_Logger(l) | |
| 69 | + , | |
| 70 | + lnv.loggers))) | |
| 71 | + , | |
| 72 | + lnvs)) | |
| 73 | + else | |
| 74 | + var([]) | |
| 75 | +. | |
| 76 | + | |
| 28 | 77 | /** get_uid_loggers |
| 29 | 78 | */ |
| 30 | 79 | define Maybe(UID_loggers) |
| ... | ... | @@ -115,7 +164,8 @@ define One |
| 115 | 164 | failure then unique, |
| 116 | 165 | success(new_log) then |
| 117 | 166 | _uid_log.loggers <- [new_log . *_uid_log.loggers]; |
| 118 | - logInfo(anb_logger, "register_logger: logger ["+log_name+"] created in ["+uid+"]") | |
| 167 | + logInfo(anb_logger, "register_logger: logger ["+log_name+"] created in ["+uid+"]"); | |
| 168 | + save_loggers(logs) | |
| 119 | 169 | } |
| 120 | 170 | success(_) then |
| 121 | 171 | logWarning(anb_logger, "register_logger: logger ["+log_name+"] already exists in ["+uid+"]") |
| ... | ... | @@ -141,7 +191,8 @@ define One |
| 141 | 191 | with base_dir = if abs_path then default_path else log_server_base_dir + default_path, |
| 142 | 192 | with new_uid = uid_loggers(uid, base_dir, var([])), |
| 143 | 193 | logs <- [ new_uid . *logs]; |
| 144 | - logInfo(anb_logger, "register_uid UID logger ["+uid+"] success with base dir '"+base_dir+"'.") | |
| 194 | + logInfo(anb_logger, "register_uid UID logger ["+uid+"] success with base dir '"+base_dir+"'."); | |
| 195 | + save_loggers(logs) | |
| 145 | 196 | success(_) then |
| 146 | 197 | logError(anb_logger, "register_uid UID logger ["+uid+"] already exists.") |
| 147 | 198 | }} |
| ... | ... | @@ -163,14 +214,17 @@ define Bool |
| 163 | 214 | { |
| 164 | 215 | failure then |
| 165 | 216 | //println("process_log can't find LogMask ["+log_string+"]"); |
| 166 | - logError(log, "process_log can't find LOG_MASK");false, | |
| 167 | - success(log_mask) then logTrace(log, logMask(log_mask), log_string, thread_id); true | |
| 217 | + logError(log, "process_log can't find LOG_MASK"); | |
| 218 | + false, | |
| 219 | + success(log_mask) then | |
| 220 | + logTrace(log, logMask(log_mask), log_string, thread_id); | |
| 221 | + true | |
| 168 | 222 | } |
| 169 | - else doLog(log, log_string, level, thread_id); true | |
| 170 | - | |
| 171 | - } | |
| 172 | - } | |
| 173 | - }. | |
| 223 | + else | |
| 224 | + doLog(log, log_string, level, thread_id); | |
| 225 | + true | |
| 226 | + }}} | |
| 227 | +. | |
| 174 | 228 | |
| 175 | 229 | define Bool |
| 176 | 230 | process_log |
| ... | ... | @@ -317,6 +371,6 @@ global define One |
| 317 | 371 | //create own logger |
| 318 | 372 | with anb_logger = createLogger("anb_log", 7, base_directory + "anb_log.log", logTrace, logTrace), |
| 319 | 373 | logInfo(anb_logger, "start anb_log "+datef_ymd(product_time) + " " + dhour_format(product_time)); |
| 320 | - | |
| 321 | - forget(start_logger_server(create_default_loggers(base_directory), anb_logger, server_port, base_directory)) | |
| 374 | + with loggers = load_loggers, | |
| 375 | + forget(start_logger_server(loggers, anb_logger, server_port, base_directory)) | |
| 322 | 376 | . | ... | ... |