code: public void set_logging_level(final DeviceProxy deviceProxy, final int level) throws DevFailed {
          // Get connection on administration device
          if (deviceProxy.getAdm_dev() == null) {
              import_admin_device(deviceProxy, "set_logging_level");
          }
  
          // Prepeare data
          final DevVarLongStringArray lsa = new DevVarLongStringArray();
          lsa.lvalue = new int[1];
          lsa.svalue = new String[1];
          lsa.lvalue[0] = level;
          lsa.svalue[0] = get_name(deviceProxy);
          final DeviceData argin = new DeviceData();
          argin.insert(lsa);
          // And send command
          deviceProxy.getAdm_dev().command_inout("SetLoggingLevel", argin);
      }
docs: ==========================================================================