public void Log_DomainSubstitutions_IniFile()
    {
        UT_INIT();

        // create INI file
        String iniFileContents=
             "[ALOX]\n"
            +"TESTMEMLOGGER_FORMAT= \"<%D>\"  \n"

            +"MYLOX_DOMAIN_SUBSTITUTION = /A_DOM -> /BETTER_NAME   ;\\ \n"
                         +"    /UI    -> /LIBS/UI    \n"

            +"x\n"
           ;
/* SNIPPIT FOR Dox
//! [Man_DomSubst_Config]
[ALOX]
MYLOX_DOMAIN_SUBSTITUTION= /A_DOM -> /BETTER_NAME   ; \
                           /UI    -> /LIBS/UI
//! [Man_DomSubst_Config]
*/
        String fileName= Environment.CurrentDirectory + "/Log_DomainSubstitutions_IniFile.ini";
        StreamWriter file= new StreamWriter( fileName );
        file.Write( iniFileContents );
        file.Close();

        IniFile iniFile= new IniFile( fileName );
        iniFile.ReadFile();
        //iniFile.WriteFile(); // temporarily enable to see what we have written above

        // add to config
        ALIB.Config.InsertPlugin( iniFile, Configuration.PrioIniFile );

        // create lox, loggers
        Lox myLox= new Lox( "MyLox" ); // name will be upper case
        myLox.SetVerbosity( Lox.CreateConsoleLogger("CONSOLE") , Verbosity.Verbose );
        myLox.SetVerbosity( "CONSOLE"                          , Verbosity.Verbose, ALox.InternalDomains );

// SNIPPIT FOR Dox
#if NEVER_DEFINED
//! [Man_DomSubst_Config_Prevent]
myLox= new Lox( "MyLox" );                      // name will be converted to upper case
myLox.SetDomainSubstitutionRule( null, null );  // clear rules eventually read in constructor
//! [Man_DomSubst_Config_Prevent]
#endif


        MemoryLogger ml= new MemoryLogger("TESTMEMLOGGER");
        myLox.SetVerbosity ( ml, Verbosity.Verbose );

        LOG_CHECK( "DOM"    , "</DOM>"              , ml,myLox);
        LOG_CHECK( "A_DOM"  , "</BETTER_NAME>"      , ml,myLox);
        LOG_CHECK( "UI"     , "</LIBS/UI>"          , ml,myLox);

        //Log.State( "", Verbosity.Info, "Configuration now is:" );

        ALIB.Config.RemovePlugin( iniFile );
        myLox.RemoveLogger( ml );
        myLox.RemoveLogger( "CONSOLE" );
    }