{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":48100,"path":"servicenow-platform/mid-server/r_MIDSystemMethods.md","title":"MIDSystem methods","bundle":null,"doc_type":null,"release":"australia","body":"\n# MIDSystem methods\n\nMIDSystem variables \\(referred to by the variable name ms.\\) provide a variety of methods to get information about the MID Server.\n\n<table id=\"table_lhn_gsf_khb\"><tbody><tr><td>\n\n![Links to each of the MID Server sections](../image/MIDRefIconBar.png)\n\n</td></tr></tbody>\n</table>|Method summary|Description|\n|--------------|-----------|\n|log\\(String message\\)|Logs the given message with a standard prefix to indicate that the message was generated by JavaScript.|\n|getConfigParameter\\(String parameter name\\)|Returns the value of the named configuration parameter.|\n|include\\(String script include\\)|Include the MID Server script include with the given name into the current context.|\n|getName\\(\\)|Returns the name of the MID Server.|\n|getSysID\\(\\)|Returns the sys\\_id of the MID Server.|\n|toJavaScript\\(Object\\)|Converts the given Java object into the equivalent JavaScript object.|\n\nThis example writes a message to the log:\n\n`ms.log('Attempting to log in with user: ' + this.getParameter('user'));`\n\n**Parent Topic:**[MID Server reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/mid-server/mid-server-reference-information.md)\n\n**Related topics**  \n\n\n[MID Server system requirements]()\n\n[MID Server upgrades]()\n\n[Resolving MID Server issues]()\n\n[MID Server dashboard]()\n\n[MID Server properties]()\n\n[MID Server parameters]()\n\n[MID Server Configuration Parameter settings and priority]()\n\n[MID Server File Cleaner]()\n\n[MID Server protected records and reserved characters]()\n\n[MID Server privileged commands]()\n\n[Manually start, stop, and restart a MID Server]()\n\n[MID Server heartbeat]()\n\n[Set the MID Server JVM memory size]()\n\n[Pause the MID Server]()\n\n"}}