Setting Logging API config file

Hi,
Is there a way I can set the Logging API's config file (java.util.logging.config.file) from within my program? I have tried using System.setProperty but it doesn't seem to work. The only way I seem to be able to set the property is with -D on the command line.
Thanks
Rob

Is there a way I can set the Logging API's config file (java.util.logging.config.file) from within my program? I have tried using System.setProperty but it doesn't seem to work. The only way I seem to be able to set the property is with -D on the command line.Read the Logging Overview Dokumentation
anyway
InputStream inputStream = new FileInputStream("logging.properties");
LogManager.getLogManager().readConfiguration(inputStream);
...

Similar Messages

  • Appropriate directory for themes, logs and config files

    Hello, I would like to know what would be the appropriate directory to place a application's config directory that contains themes, logs and config files for that application.
    I want that directory to be accessible but since ~/Library is now invisible on Lion, that kinda rules it out for accessibility. The only place left now would be ~/Applications, but I don't think it was intended for that.
    There is also an invisible config file that contains the path to the config directory and that's what the app uses to know where the config directory is located. The current emplacement of that config file is in the home directory, which I think is not in accordance to Apple's guidelines. So where should I place that file?
    What should I do?
    Thanks

    Whee wrote:
    I wish I could choose both of your answers as being the good one.
    Thanks for the additional info about the Home and Documents directory, that clears a lot of things up. I needed to know that too. Do you know where that documents is located now? http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFileSy stem/Articles/WhereToPutFiles.html
    Apple prefers you use the system API for these things. Here is one document that explains it.
    So even though I won't use NSDefaults because what I am working on is a cross Platform app that is in C, I will put the config file in ~/Library/Preferences and the config folder in ~/Library/Application Support.
    Almost everything has a C equivalent. You can use CFPreferences instead. I strongly urge you to use one of the system APIs instead of trying to write your own files. For one thing, the user can put their home directory virtually anywhere they want. For another, Lion is rewriting the underlying architecture with the new screen sharing and iCloud. If you use the system APIs, your program will work properly with any new technologies or custom network settings.

  • Dynamically Setting a Variable from a Connection String that has been set by a Config File

    Hi Guys
    I'm setting up a Master / Slave (Parent / Child) dtsx environment but I'm unable to work out how to dynamically set a variable in the Master dtsx from a connection string that has had its value set by a config file. I'm sure it's possible.
    Below is the what I'm hoping to achieve. I've set up everything apart from the highlighted section.
    Any ideas?

    First, what version of SQL Server are you using?
    You could switch the problem around.  You could set the value of a variable from the config file, then it is easy to use that variable as the connection string source for your connection manager.  At the same time you can use a parent variable
    configuration to map that variable to variables in your child package.
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • How do I properly set up a config file?

    Sorry if this question is trivial but I'm new to SSIS.
    I have a DLL that I'm linking to my SSIS application.  When I try to read Configuration settings from my Config file via code in my DLL such as below:  
    Config.MHLServiceSettings MHLSettings = (Config.MHLServiceSettings)ConfigurationManager.GetSection("MHLServiceSettings");
    it fails with the following message:
    An error occurred creating the configuration section handler for MHLServiceSettings: Could not load type 'HealthSolutions.Core.Config.MHLServiceSettings' from assembly 
    When the code is accessed by a C# project of which my DLL is a part of the solution, it works fine.
    In my SSIS project I have the configuration set to Development and have updated c:\Program Files\Microsoft SQL Server\110\DTS\Binn\DtsDebugHost.exe.config to include
    <configSections>
    <section name="MHLServiceSettings" type="HealthSolutions.Core.Config.MHLServiceSettings"/>
    <section name="MembershipServiceSettings" type="HealthSolutions.Core.Config.MembershipServiceSettings"/>
    </configSections>
    <MHLServiceSettings baseURI="https://dev.mydomain.com/MHL.svc/" authType="Basic">
    <Credentials username="Asp" password="passsword" domain="DOMAIN01" />
    </MHLServiceSettings>
    <MembershipServiceSettings
    These values are from the config file that was created by my DLL.
    Can someone either tell me what's wrong or point me in a direction so that I can figure out what is happening?
    If I need to add any information or provide more information to help with the issue please let me know.
    Thanks
    Bob

    1st the SSIS projects do not have the notion of a configuration. 2nd DtsDebugHost.exe.config has nothing to do with packages in general.
    Please do not treat C# project akin to BI projects, these are different things.
    We use configurations in a different manner, yes, you may want to read
    How to: Add a Package Configuration
    Arthur My Blog

  • Cannot parse *.Config file. Ensure you have configured the 'paypal' section correctly.

    I have added PayPal setting in web.config file and I can access paypay from my local. 
    I have copied that setting into web.debug.config and web.release.config but I can't access and I got the error from server.
    May I know what could be the reason?
    Cannot parse *.Config file. Ensure you have configured the 'paypal' section correctly.
    <paypal>
        <settings>
          <add name="mode" value="sandbox" />
          <add name="connectionTimeout" value="360000" />
          <add name="requestRetries" value="1" />
          <add name="clientId" value="xxx" />
          <add name="clientSecret" value="ccc" />
        </settings>
      </paypal>

    You can't add arbitrary application configuration to web.config, as that is used by Web API. Instead, add a configuration setting in the "app settings" section of the Configure tab in the portal.

  • Creating a config file

    hello to all! I am new to Labview development and am currently tasked to
    create a multi-functional tester that controls several instruments, 34401's,
    TDS7104, HP6050A, 120-ASX AC source. I would like to get your ideas on how I
    should create a single configuration file that would be used during the whole
    duration of the tests (load regulation, line regulation,etc....). Different
    tests require different conditions being set during the config file creation.
    For example:
    Load Regulation would require me to tests the power supply at:
    a. MIN Input Voltage at MIN load current
    b. MIN Input Voltage at MAX load current
    c. MAX Input Voltage at MIN load current
    d. MAX Input Voltage at MAX load current
    Thanks in advance.

    Hi DonLabVIEW,
    First let me recommend that you use the instrument drivers available at www.ni.com/idnet, our Instrument Driver Network. These drivers provide you with VIs that take care a lot of the lower-level details and will greatly aid you in your programming. You can select Search Drivers and search for your different instruments. We have drivers available for most of the devices you mentioned.
    Now, I am not quite sure what exactly you are wanting to do with this configuration file. Are you wanting to have some settings saved on your computer that you can read into the program to know how to set your instruments for the test? If so, you can use the File I/O functions, read in the file, and then parse out the data from the file and use it in the program to determine what settings you want. If you just have a sequence of tests you need to make, there are several ways that you could set up the program to do it on its own without having to read from a file. I hope your programming is going well, and please let us know if there is anything else specific that we can help you out with!
    john
    Applications Engineer

  • [svn:osmf:] 16197: Config file changes to reflect the folder structure changes of libs and plugins

    Revision: 16197
    Revision: 16197
    Author:   [email protected]
    Date:     2010-05-18 15:07:01 -0700 (Tue, 18 May 2010)
    Log Message:
    Config file changes to reflect the folder structure changes of libs and plugins
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flexcov
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml

    Grant,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • [svn:osmf:] 17162: config file and relevant changes for flex sdk3 to flex sdk 4 migration

    Revision: 17162
    Revision: 17162
    Author:   [email protected]
    Date:     2010-08-02 18:31:23 -0700 (Mon, 02 Aug 2010)
    Log Message:
    config file and relevant changes for flex sdk3 to flex sdk 4 migration
    Modified Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestR unnerBasePresentationModel.as
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer-build-config.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/view/MainWindowLayout.mxml
        osmf/trunk/apps/samples/framework/MediaContainerSample/MediaContainerSample-build-config. xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config.xml
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/NestedMediaCOntainersSample -build-config.xml
        osmf/trunk/apps/samples/framework/OSMFPlayer/OSMFPlayer-build-config.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMF/osmf-build-config.flex
        osmf/trunk/framework/OSMF/osmf-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml
        osmf/trunk/libs/samples/ChromeLibrary/ChromeLibrary-build-config.xml
        osmf/trunk/libs/samples/Syndication/syndication-build-config.flex
        osmf/trunk/libs/samples/Syndication/syndication-build-config.xml
        osmf/trunk/libs/samples/VAST/vast-build-config.flex
        osmf/trunk/libs/samples/VAST/vast-build-config.xml
        osmf/trunk/libs/testing/NetMocker/netmocker-build-config.xml
        osmf/trunk/libs/testing/StrobeUnit/strobeunit-build-config.xml
        osmf/trunk/plugins/samples/SMILPlugin/SMILPlugin-build-config.xml
    Added Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4/flexunit4-build-config-10-1.xml
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationUtils/zeri-certification-utils-build- config-10-1.xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config-10-1.xml
        osmf/trunk/framework/OSMF/osmf-build-config-10-1.xml

    Revision: 17162
    Revision: 17162
    Author:   [email protected]
    Date:     2010-08-02 18:31:23 -0700 (Mon, 02 Aug 2010)
    Log Message:
    config file and relevant changes for flex sdk3 to flex sdk 4 migration
    Modified Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestR unnerBasePresentationModel.as
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer-build-config.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/view/MainWindowLayout.mxml
        osmf/trunk/apps/samples/framework/MediaContainerSample/MediaContainerSample-build-config. xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config.xml
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/NestedMediaCOntainersSample -build-config.xml
        osmf/trunk/apps/samples/framework/OSMFPlayer/OSMFPlayer-build-config.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMF/osmf-build-config.flex
        osmf/trunk/framework/OSMF/osmf-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml
        osmf/trunk/libs/samples/ChromeLibrary/ChromeLibrary-build-config.xml
        osmf/trunk/libs/samples/Syndication/syndication-build-config.flex
        osmf/trunk/libs/samples/Syndication/syndication-build-config.xml
        osmf/trunk/libs/samples/VAST/vast-build-config.flex
        osmf/trunk/libs/samples/VAST/vast-build-config.xml
        osmf/trunk/libs/testing/NetMocker/netmocker-build-config.xml
        osmf/trunk/libs/testing/StrobeUnit/strobeunit-build-config.xml
        osmf/trunk/plugins/samples/SMILPlugin/SMILPlugin-build-config.xml
    Added Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4/flexunit4-build-config-10-1.xml
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationUtils/zeri-certification-utils-build- config-10-1.xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config-10-1.xml
        osmf/trunk/framework/OSMF/osmf-build-config-10-1.xml

  • Setting logging.config.class via Preferences API

    The Javadoc for LogManager says:
    In addition, the LogManager uses two optional system properties that allow more control over reading the initial configuration:
    * "java.util.logging.config.class"
    * "java.util.logging.config.file"
    These two properties may be set via the Preferences API, or as command line property definitions to the "java" command, or as system property definitions passed to JNI_CreateJavaVM.
    http://java.sun.com/j2se/1.4/docs/api/java/util/logging/LogManager.html
    So, how can I set the "java.util.logging.config.class" system property via the Preferences API? How can I set any system property via the Preferences API? I think this is a documentation bug, but I would like to know how to do it, otherwise.
    http://java.sun.com/j2se/1.4/docs/api/java/util/prefs/Preferences.html

    I don't know why I couldn't find it when I looked before,
    but it is a filed bug.
    http://developer.java.sun.com/developer/bugParade/bugs/4691587.html
    This help me find a work-around.
    http://developer.java.sun.com/developer/bugParade/bugs/4506094.html

  • Log API: daily roling file appender?

    my task is to replace Log4J with the JDK 1.4 logging API. how can i configure the logging to have a FileHandler that does daily rolling (like Log4J DailyRollingFileAppender) and offer a a date pattern for the file name (like Log4J DatePattern)?
    the result should be that each day, a new log file is created with the old files having a datepattern in the file names.

    Well, i wrote my own now, that supports time rolling (day, week, month, year) and later additional rollings. here's a start:
    import java.io.*;
    import java.text.SimpleDateFormat;
    import java.util.*;
    import java.util.logging.*;
    * File handler that supports different kind of rolling than java.util.logging.FileHandler.
    * Supported rolling methods are: by date (day).
    * <p>
    * Example of entries in the logging file (system property "java.util.logging.config.file"):
    * <p>
    <table align="center" bgcolor="#ddddff" border=1 cellpadding="10" cellspacing="0"><tr><td><pre>
    logging.RollingFileHandler.level = FINEST
    logging.RollingFileHandler.prefix = MyApp_
    logging.RollingFileHandler.dateFormat = yyyyMMdd
    logging.RollingFileHandler.suffix = .log
    logging.RollingFileHanlder.cycle=day
    logging.RollingFileHandler.formatter = java.util.logging.SimpleFormatter
    </pre></td></tr></table>
    <p>
    * @version $Revision:$ ($Date:$)
    * @author $Author:$
    public class RollingFileHandler extends StreamHandler {
        /** File prefix. */
        private static String prefix = null;
        /** Date format to use in file name. */
        private static String dateFormat = "yyyy-MM-dd"; //default
        /** File suffix. */
        private static String suffix = null;
        /** Time in milliseconds for the next cycle */
        private static long nextCycle = 0;
        /** Time cycle (for file roling) */
        private static String cycle = "day"; //default
         * Constructor.
        public RollingFileHandler() {
            super();
            LogManager manager = LogManager.getLogManager();
            String className = RollingFileHandler.class.getName();
            prefix = manager.getProperty(className + ".prefix");
            String dfs = manager.getProperty(className + ".dateFormat");
            suffix = manager.getProperty(className + ".suffix");
            String c = manager.getProperty(className + ".cycle");
            String formatter = manager.getProperty(className + ".formatter");
            if (dfs != null) {
                dateFormat = dfs;
            if (c != null) {
                if (c.equalsIgnoreCase("day") || c.equalsIgnoreCase("week") || c.equalsIgnoreCase("month") || c.equalsIgnoreCase("year")) {
                    cycle = c;
            if (formatter != null) {
                try {
                    setFormatter((Formatter) Class.forName(formatter).newInstance());
                } catch (Exception e) {
                    e.printStackTrace(System.err);
            openFile();
        }//RollingFileHandler()
          * Open existing or create new log file.
         private synchronized void openFile() {
            //create file name:
            String dateString = dateFormat; //default (to note error in file name)
            Date currentDate= new Date();
            try {
                SimpleDateFormat sdf = new SimpleDateFormat(dateFormat, Locale.getDefault());
                dateString = sdf.format(currentDate);
            } catch (IllegalArgumentException iae) {
                /* ignore wrong date format */
            //compute next cycle:
            Date nextDate = null;
            GregorianCalendar gc = new GregorianCalendar();
            gc.setTime(currentDate);
            if (cycle.equalsIgnoreCase("week")) {
                gc.add(Calendar.WEEK_OF_YEAR, 1);
                nextDate = gc.getTime();
            } else if (cycle.equalsIgnoreCase("month")) {
                gc.add(Calendar.MONTH, 1);
                int month = gc.get(Calendar.MONTH);
                int year = gc.get(Calendar.YEAR);
                GregorianCalendar gc2 = new GregorianCalendar(year, month, 1);
                nextDate = gc2.getTime();
            } else if (cycle.equalsIgnoreCase("year")) {
                gc.add(Calendar.YEAR, 1);
                int year = gc.get(Calendar.YEAR);
                GregorianCalendar gc2 = new GregorianCalendar(year, 0, 1);
                nextDate = gc2.getTime();
            } else { //day by default
                gc.add(Calendar.DAY_OF_MONTH, 1);
                nextDate = gc.getTime();
            //to zero time:
            gc = new GregorianCalendar();
            gc.setTime(nextDate);
            gc.set(Calendar.HOUR, 0);
            gc.set(Calendar.HOUR_OF_DAY, 0);
            gc.set(Calendar.MINUTE, 0);
            gc.set(Calendar.SECOND, 0);
            gc.set(Calendar.MILLISECOND, 0);
            nextDate = gc.getTime();
            nextCycle = nextDate.getTime();
            //create new file:
            String fileName = prefix + dateString + suffix;
            File file = new File(fileName);
            //create file:
            if (!file.exists()) {
                try {
                    file.createNewFile();
                } catch (IOException ioe) {
                    ioe.printStackTrace(System.err);
            //set log file as OutputStream:
            try {
                FileOutputStream fos = new FileOutputStream(file, true);
                setOutputStream(fos);
            } catch (FileNotFoundException fnfe) {
                reportError(null, fnfe, ErrorManager.OPEN_FAILURE);
                fnfe.printStackTrace(System.err);
                setOutputStream(System.out); //fallback stream
        }//openFile()
         * Overwrites super.
        public synchronized void publish(LogRecord record) {
            if (!isLoggable(record)) {
                return;
            super.publish(record);
            flush();
            //check if we need to rotate
            if (System.currentTimeMillis() >= nextCycle) { //next cycle?
                role();
        }//publish()
          * Role file. Close current file and possibly create new file.
         final private synchronized void role() {
            Level oldLevel = getLevel();
            setLevel(Level.OFF);
            super.close();
            openFile();
            setLevel(oldLevel);
        }//rotate()
    }//RollingFileHandler

  • Java logging API (1.4) -- where's the file?

    Where on God's green earth does the log file get written to?
    I am doing some very simple code:
    import java.util.logging.*;
    public class SimpleLogging {
       static Logger jcfeLog = Logger.getLogger("test1");
       static Logger sampleLog = Logger.getLogger("test2");
       public static void main(String [] args)
          jcfeLog.warning("sample warning");
          sampleLog.log(Level.INFO, "sample info entry");
          byte[] moreInfo = new byte[10];
          //fill moreInfo with some binary info
          jcfeLog.log(Level.FINEST, "Some obscure event", new Object[]{moreInfo});
    } doesn't get much simpler, plus I am using the default properties file. I get the console output but simply cannot find the log file anywhere on my system. Just for kicks, here is the config entry for the file:
    java.util.logging.FileHandler.pattern =%t/java%u.logmy understanding is that it should go to the temp directory?
    also, why aren't the specs for the config file listed anywhere, all these %t, %u, etc.....????

    The FileHandler API gives the meaning for the % symbols.
    http://java.sun.com/j2se/1.4/docs/api/java/util/logging/FileHandler.html
    Your pattern indicates that the file should be put in the system's temp directory, with the file name java###.log.
    Maybe you should try calling the addHandler method on your Loggers, and add a FileHandler to write the messages to that file.

  • Setting Log file parameter

    Hi,
    I need to restrict the number of log files created. Where do i set the max number of log files(which parameter to modify) that will be created before the log files start rolling....??
    Thanks

    BAM creates the log files 1 per day, All messages from all restarts, stops, etc and details are logged into the log file within a single file. The file is renamed with yyy_mm_dd when it is rotated the next time or next day. Some controls for log file are provided in the ***.exe.config file in the c:\oraclebam\bam directory.

  • Not able to create log files using logging API's

    Hi All,
    I am trying to make use of logging API's of SAP in my standalone java project.
    Below is the following line of code.
    public class TestLog {
    private static final com.sap.tc.logging.Location logger = com.sap.tc.logging.Location.getLocation(testLog.class);
    static
    logger.setEffectiveSeverity(Severity.INFO);
    // logger.addLog(new ConsoleLog());
    logger.addLog(new FileLog("C://temp//testOutput.log", new ListFormatter()));
    public static void main(String[] args) {
    writeLog();
    public static void writeLog()
    logger.entering("entering");
    logger.debugT("In Write Log");
    logger.exiting("exiting");
    But the above codes does not create the testOutput.log file in the dir which i have mentioned . I have added sap.comtcloggingjavaimpl.jar from eclipse plugin folder to make use of these API's .
    Could you please help me on this .
    Thanks & Regards,
    Mitul Adhia.

    Hi,
    Also try adjusting the severity level in nwa(Netweaver Administrator).
    1. Go to http://<host-name>:<port-number>/nwa
    2. Select Problem Management from tabs.
    3. In that select Logs and Traces tab.
    4. Select Log configuration
    5. in Show select Tracing Locations
    6. Select your application and set the severity to be the one lower than that you specify in your code.
    Hope it helps.
    Regards,
    Srinivasan Subbiah

  • How to I import MAX 4.6 config files into MAX 5.5? Missing Data Neighborhood. Strain gage set up is different.

    I have been trying to import my config file from MAX 4.6 into a new system running MAX 5.5 and daq 9.8.
    The data neighborhood does not appear, however my application sees the information. How can this be remedied? Start over?  I have a lot of inputs and would rather not have to recreate all of them.
    What is the difference between the strain gage settings in MAX 4.6 and MAX 5.5? The selection box for the bridge in 4.6 has a selection for "let niDAQ choose". Seems that is necessary to use the 4.6 config data. Try though I might, the readings in 5.5 do not match those in 4.6.     Is there a work around fo this? I don't want to have to perform an entire system calibration.
    Thanks
    Chris
    Solved!
    Go to Solution.

    Attached JPG's.
    Here is more information regarding the MAX Strain Set Up.
    Attached are screen shots from MAX 4.6 and MAX 5.5. 
    Hardware:  PXI chassis with bridge to a PC.  SCXI-1520 input card.
    Software: Old system:  Windows XP SP2 running MAX 4.6 with niDAQmx 9.0.2,   programming in LabView 2011
                       New system: Windows 7 running MAX 5.5 with niDAQmx 9.8.  Programming in LabView 2013
    5.5:  What is the gage factor?  Is that the mv/v sensitivity of the load cell?
    5.5:  Asks for Gage resistance, easy to look up and I entered the data, 350.
    5.5:  How do I determine the Initial Voltage?
    5.5:  No choice of using V Excitation for scaling
    5.5:  Is Full Bridge I the same as 4.6 Full Bridge?
    5.5:  Requires use of Strain in scale factor
    4.6:  Requires use of Volts in scale factor (flags an error if I try Strain and requests Volts)
    4.6:  Choosing to use Vex for scaling makes readings look similar to 5.5 readings, but still not correct. ie around -79 in 5.5 and around -50 in 4.6 vs. 5.2 without.
    Is there a way to set MAX 5.5 so that it provides the same starin set  up function as 4.6? If so, what is it?
    Thanks,
    Attachments:
    Max 4.6 Strain Set Up.jpg ‏32 KB
    Max 5.5 Strain Setup.jpg ‏23 KB
    MAX 4.6 Strain Scale 2.JPG ‏165 KB

  • The setting ExternalProxy in the Web.Config file was not valid.

    Since installing Exchange 2010 SP1 (Upgrade from RTM) I get this in the event viewer.
    The setting ExternalProxy in the Web.Config file was not valid. The previous value was null and has been changed to .
    Any ideas what to check?

    I'm also getting a number of these errors on Exchange 2010 SP1 RU1, the settings that I get notified include (the values have been changed to a number of diferent values):
    ExternalProxy
    BootstrapMailDeliveryDelay
    MobileUpdateInformationURL
    BootstrapCABForWM61HostingURL
    FullServerVersion
    ADCacheMaxOrgCount
    ADCacheExpirationTimeout
    MaxDocumentDataSize
    MaxDocumentLibrarySearchResults
    MaxGALSearchResults
    BadItemEmailToText
    BadItemIncludeEmailToText
    BadItemIncludeStackTrace
    MaxClientSentBadItems
    MailboxSearchTimeoutNoContentIndexing
    MailboxSearchTimeout
    MaxMailboxSearchResults
    MaxRequestsQueued
    MaxWorkerThreadsPerProc
    MaxCollectionsToLog
    ProxyConnectionPoolConnectionLimit
    ProxyHandlerShortTimeout
    ProxyHandlerLongTimeout
    BackOffErrorWindow
    BackOffTimeOut
    BackOffThreshold
    ProxyVirtualDirectory
    BlockLegacyMailboxes
    BlockNewMailboxes
    SchemaValidate
    SchemaDirectory
    SyncLogDirectory
    SyncLogEnabled
    DisableCaching
    DeviceClassCacheADCleanupInterval
    DeviceClassPerOrgMaxADCount
    DeviceClassCachePerOrgRefreshInterval
    DeviceClassCacheMaxADUploadCount
    DeviceClassCacheMaxStartDelay
    MaxWindowSize
    MaxRetrievedItems
    EventQueuePollingInterval
    ADCacheRefreshInterval
    MaxSizeOfMailboxLog
    NumOfQueuedMailboxLogEntries
    MaxNumOfFolders
    Can these be resolved in a similar manner. Some additional information would be great (as sjoegarrett I can also ignore them, but would prefer if these could be eliminated).

Maybe you are looking for

  • NI Komplete audio 6 + Bootcamp Windows 7 problem

    hi everybody! first, sorry for my english, so i really cant describe my problem, but my NI komplete audio 6 not working on bootcamp, there is a little yellow question mark in device manager near the komplete audio. i'm using macbook pro 15-inch late

  • Greyed out Face tagging- Still!?!

    I have a library of 15,000 photos.  I would say only 1/16th of them have face tags.  I have done library rebuilding.  I have been on the phone with support to try their "Solutions".  I see no spinning wheel next to faces like it's actually working to

  • System crash, now a disk is missing. how to recover?

    was just transferring files from one disk to another while opening a final cut project from a third disk. during the process a gray curtain closed from top to bottom of my screen witha message that somethiing serious had happened and that i needed to

  • How to append text of one JTextPane to another JTextPaneacross the network.

    i am developing a chat software using client server architecture. i have a JTextPane on client end where the client types the message in multi colour,multi font and multi size formats. i can send the data to other clients but then i cannot send this

  • UIX 2.2.8: rendered attribute for onBlurValidater and onSubmitValidater?

    Hi, i want to create onBlurValidater and / or onSubmitValidater in my subclassed ui:dateField based on a new attribute. In UIX 2.2.8 there is no rendered attribute on the onXxValidator tags. Any idea how i can achive something like <ui:dateField>   <