Disabling commons logging for specific application

Hi
Is there some possiblity to disable default logging (commons) on glassfish? I have configured log4j and the default commons logging polluts my logs...
Regards

For those items that are to be disabled, you could add a new style class to each cell control to indicate it's disabled. You could use a formatter function:
addStyleClass : {
    parts : [ 'isRecordLocked' ],
    formatter : function(isRecordLocked) {
        return isRecordLocked ? "disabledStyle" : "";
where 'isRecordLocked' is the indicator in your data whether your record is locked, and 'disabledStyle' is the custom CSS class which caters for a disabled look of your cell.
If you need to suppress any press events for the locked records, you could do it in the same way.

Similar Messages

  • How can I disable the Keychain for an application?

    How can I disable the Keychain for an application? A window pops up every time I open a page in Safari asking me for a password. I'm using a student laptop, so while I'm an administrator I lack access to a few things, such as the Keychain Access application. Is there any way to deal with this?

    It's possible you may be able to trick it by creating an Applications folder in your Home directory and moving Safari to it.
    I can't test this but it might work. The problem is that you would miss Safari updates, so you'd have to keep an eye out for them. Another solution may be to download another Safari and install in yourname/Applications.

  • How to disable an alert for specific time period in SCOM 2012 R2

    Hello,
    Is there any option to disable an alert for specific time period in SCOM 2012 R2
    Regards,
    angs

    No. But you can use the scheduler module in your rule or monitor, which will dictate when the workflow will actively run on the agent - hence disabling alerting for that time period.
    http://msdn.microsoft.com/en-us/library/ff453828.aspx
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • SSL logging for an application

    How can i set up SSL logging for just one application. I have an htmldb SSL application that i want to track through my oracle http server log. How can i set up a log to just track the directory path that it is in. For example, i want all /pls/htmldb/f?p=164:* tracked in this log alone.

    Hi,
    <font color=maroon> if you are using JDKLogging then as per Standard J2SE Specification you can have the following Logging Levels in decreasing Order:</font><BR>
    SEVERE (highest value)
    WARNING
    INFO
    CONFIG
    FINE
    FINER
    FINEST (lowest value)
    <font color=maroon> But if u are using Log4j Implementation for your Application logging then u can have the following levels</font><br>
    static Level DEBUG - The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
    static Level INFO - The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
    static Level WARN - The WARN level designates potentially harmful situations.
    static Level ERROR - The ERROR level designates error events that might still allow the application to continue running.
    static Level FATAL - The FATAL level designates very severe error events that will presumably lead the application to abort.
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/2010/03/03/log4j-at-application-level-in-weblogic/ (WebLogic Wonders Are Here)

  • How to disable network connections for an application

    Hi to all,
    I would like to know if there is any way a user can disable network connections for a specific application.
    Thank you,
    Xwang

    Yes, but I would like to block only a specific application, not all the traffic from the PC.
    I've found this "solution" which uses iptables on the net:
    "Add a group to your system (I use nonet myself), then add a rule to your output chain like this: -A OUTPUT -m owner --gid-owner nonet -j REJECT --reject-with icmp-net-unreachable Run the program for which you know in advance that you want to block, with sg (sg nonet "your_prog your_args")."
    Do you think is it right?
    Another suggestion was to use unshare to call the program disabling the net for that program only.
    The problem is that unshare is runnable only by root so, in case, I should turn on its setuid flag in order to execute the program as a normal user, but I don't know if it is safe to do that.
    Last edited by Xwang (2014-10-11 08:06:16)

  • Disable esmtp Inspection for Specific Host

    Hello.  Is it possible to disable esmtp inspection for a specific INSIDE host with use of a policy-map?  If so, could you provide an example configuration.
     

    Yes it is possible.  You could do something like the following:
    access-list ESMTP deny ip host 1.1.1.10 any
    access-list ESMTP permit ip 1.1.1.0 255.255.255.0 any
    class-map CMAP
    match access-list ESMTP
    policy-map PMAP
    class CMAP
    inspect esmtp
    service-policy PMAP interface inside
    Please remember to select a correct answer and rate helpful posts

  • Disable Websense scanning for specific src networks

    Hi all,
    I have an installation of Forefront TMG 2010 with Websense Web Filter Plug-In. The task I am supposed to do is to disable redirecting requests to Websense for specific source networks. It is impossible to do it from Websense Server, due to license limitations.
    I know there's a way to ignore some source users from isa_ignore.txt but I should filter this basing on source IP addresses. Please help me solving this issue.
    Kind Regards,

    Hi,
    You could try to create a network for these IP addresses and create a account for this network. Then add this account into isa_ignore.txt.( I haven't tested it)
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Change/Set permissions for specific application?!

    I have at least one application that always enables GPS although it isn't needed --> more power consumption, I don't know why it is doing this. Additionally I have some applications I don't want to have access to the internet (at least if I'm not connected to Wifi).
    On the other hand I have a java application that should have access to GPS and mobile data without asking every time for the permission.
    Where/How can I achieve this? Why have some applications always to ask when others have permissions for things they don't need for proper function?
    PS: N8 with Belle

    Hi AUTxRemoteC,
    According to the best of my knowledge you can only access suite settings and change them according to your preferences for certain applications only. To be able to do so, go to Menu> Settings> Installations> Already Installed the open it. From there, you can only change specific application settings and I know mostly java applications use this method. To check on which applications that you can access and change the settings place your finger to the desired application and hold it and when you see suite settings then you can change it settings. Usually when you hold to an application there is view details and delete but when you see the extra option that is suite settings then open suite settings and change them to your preferences.
    I hope that it helps you.
    Ngwangwa - Six Million Ways To Die Choose One

  • [Solved] How to use Oracle Java 6 for specific applications

    I use an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. I currently have jdk7-openjdk installed, and from what I had read in the Arch Wiki on Java, it should be possible to install Oracle Java 6 along side OpenJDK 7.
    However, after installing jdk6-compat and jre6-compat, I still see that I am running OpenJDK 7 when I run the following:
    % java -version
    java version "1.7.0_09"
    OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
    OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
    ...even after I have set JAVA_HOME and added /opt/java6/bin to my path.
    How can I get PyCharm (or other applications) to use Oracle Java 6 instead of OpenJDK?
    Thanks, and apologies if I've posted in the wrong place.
    Other information that might be helpful:
    Running zsh as default shell
    Using Gnome 3 as DE
    Last edited by Nikorasu (2012-11-17 20:54:33)

    I found the solution.
    For Pycharm, I just needed to add an environment variable PYCHARM_JDK. For running specific applications, I asked this question on the Unix / Linux StackExchange and got an answer there.
    Also, after running PyCharm in Java 6... I would not recommend it. OpenJDK works fine
    Last edited by Nikorasu (2012-11-17 20:55:01)

  • Common Practice For Storing Application Data Files

    During my application development targeting for XP and Linux time, I will store my application data files (Files where user may create, modify, rename, delete...) same path as my application directory. For instance, if my application is installed in :-
    C:\Program Files\MyApp\MyApp.jar
    All my application data files will be located in
    C:\Program Files\MyApp\Config\ directory.
    This works quite well until Vista introduce UAC. Vista will not allow write opration to C:\Program Files\MyApp\Config\ folder (Config folder is being created during installer execution). However, to support legacy application, Vista use a workaround (Virtualization) for application to write. For example, MyApp.jar want to perform write on
    Real path :-
    C:\Program Files\MyApp\Config
    Vista will redirect it to :-
    Virtual path
    C:\Users\<account>\AppData\Local\VirtualStore\Program Files\MyApp\Config
    Please refer to the links for more detail
    [http://www.codeproject.com/KB/security/acl_common_data.aspx?display=Print]
    [http://www.codeproject.com/KB/vista-security/MakingAppsUACAware.aspx]
    However, this introduce several additional problems [http://support.microsoft.com/kb/927387]
    May I know what is the common practice for storing an application data files? The below are my several thoughts
    (1) Writing to
    * Windows XP - %systemdrive%\Documents and Settings\All Users\Application Data
    * Windows Vista - %systemdrive%\ProgramData
    * Windows 2000 - %systemdrive%\Documents and Settings\All Users\Application Data
    * Windows Server 2003 - %systemdrive%\Documents and Settings\All Users\Application Data
    * Windows 98 - %systemdrive%\Windows\All Users\ Application Data
    which we may retrieve through "CommonApplicationData", using the API function SHGetFolderPath. However, how can we do that in Java? How to make compatible with Linux?
    (2) Writing to user home directory through "user.home" properties. Create a folder .MyApp and write the application data on it.
    Any input and suggestion are welcomed.
    Thanks!
    cheok

    >
    ...I will store my application data files (Files where user may create, modify, rename, delete...) same path as my application directory. >See [Store Application Settings and Components|http://sdnshare.sun.com/view.jsp?id=2305] for code that will put the required parts in a suitable sub-dir of user.home.

  • Older java for specific applications only

    I have 1.5.0 and 1.6.0 java installed on Snow Leopard. If I drag the 32 bit 1.5.0 (aka J2SE 5.0) version to the top of the preferences list for apps, then Fonality HUD works as well as it did before I upgraded to Snow Leopard. If I leave the 64 bit 1.6.0 (aka Java SE 6.0) at the top, it crashes almost immediately. (And the 32 bit 6.0 does not make it work.)
    But I don't want to make the downrev version my default java for all applications!
    I tried uncommenting the 1.5.0 line in the Info.plist for HUD, per the comments there, but that did not work.
    How can I tell this application to use 1.5.0 instead of 1.6.0 without affecting any other java apps I might want to run?
    TIA

    Apparently it runs 1.5 if you install it, for example http://wiki.oneswarm.org/index.php/OSX_10.6_SnowLeopard, which actually references the very application that I'm trying to make work: HUD.
    And it DOES work just fine, following those instructions. I just don't like the idea of running 1.5.0 as my default java for all my applications when most of them will run fine (better!) with the official version of java for Snow Leopard.
    Isn't there a way to tell one application to use a specific version of java? Does JAVA_HOME still do this? I tried that and failed, but maybe I did not set it to the correct value - the java command in 1.5.0 or something else?

  • How can we disable the log for Positive Pay program?

    Hi,
    We would like to disable the log file for positive pay program (Positive Pay File with Additional Parameters) because the log contains the whole positive pay file including confidential financial data. Is there any way to disable this logging?

    I do not think there is an option to disable it. However, you may log a SR and confirm this with Oracle support.
    Thanks,
    Hussein

  • Changing colours in rxvt for specific application

    Was wondering if there is a way to override .Xdefaults for a specific application (mutt specifically)?  Is there a way to load a seperate colour config file for a one off terminal window?

    Yes, there is a way to make one-off terminal windows.  One of the easiest is to simply change the 'name' resource of the terminal.  In this example I have my xterm's normal background color set to a nearly black color and the alternate background set to a dark green.
    ! X resource file example
    ! Normal background
    XTerm*background: rgb:08/08/08
    ! Alternate background
    green*background: rgb:08/16/08
    The normal background is called with the command 'xterm'.  If I want to change to the alternate background, I use this command:
    $ xterm -name green
    Play with and read about the difference between instances and classes in X resources.  You can also set many X resources for most Xlib programs from the command line.  You'll have to RTFM.
    Edit: The example code works when you substitute 'URxvt' or 'Rxvt' for the 'XTerm' class when using rxvt-unicode.
    Last edited by thisoldman (2013-08-08 10:25:19)

  • IsCellEditable() to disable cell editing for specific columns

    Hello experts:
    My SSCCE for this question is at the below link:
    http://forum.java.sun.com/thread.jspa?threadID=5293914&messageID=10244030#10244030
    My question is how do I disable cell editing for all but the "Price" column of my table in the SSCCE. I tried adding the below lines of code right after creating the JTable. But get compilation errors.
    //Here is the block of code that I am trying to include.
         @Override                                                       
         public boolean isCellEditable(int row, int col) {     
         if (col == 7) {                                                  
                   return true;
              } else {
                   return false;
         } //Below is the method in detail03.java showing the block of code added
    private JScrollPane BuildEmptyTable() {
         model = new DefaultTableModel();
         model.addTableModelListener( this );
         model.setColumnIdentifiers(new String[] { "SKU","Qty", "Price"});
            tblDetailTest = new JTable(model);
         @Override                                                       
         public boolean isCellEditable(int row, int col) {     //     <----- I tried placing the
         if (col == 7) {                                        //                  the code block here
                   return true;
              } else {
                   return false;
         tblDetailTest.setRowHeight(20);
         tblDetailTest.setPreferredScrollableViewportSize(new Dimension(900, 100));
         JTableHeader tblHdr = tblDetailTest.getTableHeader();
         tblHdr.setBackground(Color.yellow);
         JScrollPane scrollPane = new JScrollPane(tblDetailTest);
         return scrollPane;
    }Can somebody please guide me? Thank you very much.

    oops!
    Sorry, my bad! I did not tell you what I tried. Following your suggestion, I made the following 2 changes to the code:
    In the method, BuildEmptyTable(), where I build the table structure, I have the following statement:
         tblDetail = new JTable(model){
    public boolean isCellEditable(int row, int col) {
           return col == 8;
    };And in a separate method after the table is populated with data, I have the below code:
         tblDetail.getModel().addTableModelListener(new TableModelListener() {
         public void tableChanged(TableModelEvent e) {
         if (e.getType() == TableModelEvent.UPDATE)
              int row = e.getFirstRow();
              int column = e.getColumn();
                 if (column == 8){
                   //code here
                   System.out.println("Updating item price!");
         }I do understand that the message gets displayed as many number of times equal to number of rows inserted into the table, because of the UPDATE event. But my problem is I do not know how to make a code change to do what I exactly want, as I have indicated in my previous note. Meaning I want the listener to be called only when the
    data in the editable cell changes.
    Thank You.

  • Disable "correct spelling automatically" for specific applications?

    Is there a way to disable the "correct spelling automatically" on an application by abblication basis? I would like to use it in most apps, but want it disabled when I am doing web dev using programs like Coda. Any ideas?

    Thanks for the suggestion. I don't see anything in there about Apple's new built-in auto-correct feature. It looks like it deals mostly with Coda's own spell checker where it underlined words in red that it thinks are mis-spelled.
    I did find that Coda released a software update to fix some Lion issues. I'm not sure if this update addressed the auto-correct issue, but in the few minutes I've using Coda since the software update I have not experienced the problem.

Maybe you are looking for